About Anaconda Help Download Anaconda

main / packages / aiorwlock 1.3.0

Read write lock for asyncio.

Installers

  • linux-s390x v1.3.0
  • linux-64 v1.3.0
  • osx-arm64 v1.3.0
  • linux-aarch64 v1.3.0
  • osx-64 v1.3.0
  • win-64 v1.3.0
  • linux-ppc64le v1.3.0

conda install

To install this package run one of the following:
conda install main::aiorwlock

Description

Read write lock for asyncio. A RWLock maintains a pair of associated locks, one for read-only operations and one for writing. The read lock may be held simultaneously by multiple reader tasks, so long as there are no writers. The write lock is exclusive. Whether or not a read-write lock will improve performance over the use of a mutual exclusion lock depends on the frequency that the data is read compared to being modified. For example, a collection that is initially populated with data and thereafter infrequently modified, while being frequently searched is an ideal candidate for the use of a read-write lock. However, if updates become frequent then the data spends most of its time being exclusively locked and there is little, if any increase in concurrency.


© 2024 Anaconda, Inc. All Rights Reserved. (v4.0.6) Legal | Privacy Policy