@@ -76,9 +76,9 @@ method can be safely called repeatedly, even if the lock is already acquired.
7676Serializing Locks
7777------------------
7878
79- The ``Key `` contains the state of the ``Lock`` and can be serialized. This
79+ The ``Key `` contains the state of the ``Lock `` and can be serialized. This
8080allows the user to begin a long job in a process by acquiring the lock, and
81- to continue the job in an other process within the same lock. ::
81+ continue the job in an other process using the same lock::
8282
8383 use Symfony\Component\Lock\Key;
8484 use Symfony\Component\Lock\Lock;
@@ -92,13 +92,12 @@ to continue the job in an other process within the same lock.::
9292.. note ::
9393
9494 Don't forget to disable the autoRelease to avoid releasing the lock when
95- the destructor will be called.
95+ the destructor is called.
9696
97- All stores are not compatible with serialization and cross-process locking:
98- For instance the kernel will automatically releases Semaphores acquires by the
99- :ref:`SemaphoreStore <lock-store-semaphore>` store.
100- Wen a lock is acquired with such store, and hte application try to serialize
101- the key, and exception will be thrown
97+ Not all stores are compatible with serialization and cross-process locking:
98+ for example, the kernel will automatically release semaphores acquired by the
99+ :ref: `SemaphoreStore <lock-store-semaphore >` store. If you use an incompatible
100+ store, an exception will be thrown when the application tries to serialize the key.
102101
103102.. _lock-blocking-locks :
104103
0 commit comments