system wide mutex

Grant Edwards invalid at invalid.invalid
Mon Feb 10 12:00:15 EST 2014


On 2014-02-09, Asaf Las <roegltd at gmail.com> wrote:
> Hi 
>
> Which one is most recommended to use for mutex alike locking to 
> achieve atomic access to single resource:
>
> - fcntl.lockf
> - os.open() with O_SHLOCK and O_EXLOCK 
> - https://pypi.python.org/pypi/lockfile/0.9.1
> - https://pypi.python.org/pypi/zc.lockfile/1.1.0
> - any other ?

Posix "pthread" mutexes shared memory.

-- 
Grant Edwards               grant.b.edwards        Yow! Give them RADAR-GUIDED
                                  at               SKEE-BALL LANES and
                              gmail.com            VELVEETA BURRITOS!!



More information about the Python-list mailing list