You are here: Home / LBN / Up2date / Plone 5 / BastionLinux 25 / python2-plone-synchronize-1.0.4-1.lbn25.noarch

python2-plone-synchronize-1.0.4-1.lbn25.noarch

Package Attributes
RPM  python2-plone-synchronize-1.0.4-1.lbn25.noarch.rpm Architecture  noarch Size  12409 Created  2022/09/06 08:49:21 UTC
Package Specification
Summary Simple decorators to support synchronized methods
Group Unspecified
License BSD
Home Page https://pypi.org/project/plone.synchronize
Description

Introduction This package provides a simple decorator to help synchronize methods across threads, to avoid problems of concurrent access.It can be used like this:: from threading import Lock from plone.synchronize import synchronized class StupidStack(object): _elements [] not thread safe _lock Lock() @synchronized(_lock) def push(self, item): self._elements.append(item) @synchronized(_lock)...

Requires
rpmlib(PayloadFilesHavePrefix)  
rpmlib(FileDigests)  
rpmlib(CompressedFileNames)  
rpmlib(PartialHardlinkSets)  
rpmlib(PayloadIsXz)  
Provides
python-plone.synchronize
python2-plone-synchronize
python2.7dist(plone.synchronize)
python2dist(plone.synchronize)
Obsoletes
plone.synchronize
python-plone.synchronize
python2-plone.synchronize

Document Actions