You are here: Home / LBN / Up2date / Plone and Zope / BastionLinux 36 / python2-plone-synchronize-1.0.4-1.lbn36.noarch

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

Package Attributes
RPM  python2-plone-synchronize-1.0.4-1.lbn36.noarch.rpm Architecture  noarch Size  12409 Created  2023/03/22 03:19:05 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(PayloadIsZstd)  
rpmlib(CompressedFileNames)  
rpmlib(PartialHardlinkSets)  
rpmlib(FileDigests)  
Provides
python2-plone-synchronize
Obsoletes
plone.synchronize
python2-plone.synchronize

Document Actions