Locket implements a lock that can be used by multiple processes provided they use the same path.
Locks largely behave as (non-reentrant)
Lock
instances from thethreading
module in the standard library. Specifically, their behaviour is:
acquire()
returns immediately and changes
the lock state to locked.acquire()
will block until the lock state
changes to unlocked, or until the timeout expires.release()
to
change the state to unlocked.fork
is undefined.Package Version | Update ID | Released | Package Hub Version | Platforms | Subpackages |
---|---|---|---|---|---|
0.2.0-bp156.3.1 info | GA Release | 2023-07-22 | 15 SP6 |
|
|
0.2.0-bp155.2.11 info | GA Release | 2023-05-22 | 15 SP5 |
|
|
0.2.0-bp154.1.30 info | GA Release | 2022-05-09 | 15 SP4 |
|
|
0.2.0-bp153.1.15 info | GA Release | 2021-03-06 | 15 SP3 |
|
|
0.2.0-bp152.4.8 info | GA Release | 2020-04-17 | 15 SP2 |
|
|
0.2.0-bp151.3.1 info | GA Release | 2019-07-16 | 15 SP1 |
|
|
0.2.0-bp151.2.11 info | GA Release | 2019-05-18 | 15 SP1 |
|
|
0.2.0-bp150.2.4 info | GA Release | 2018-07-30 | 15 |
|
|