×

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.

Uploaded Mon Mar 31 20:40:12 2025
md5 checksum 44a6a90c27f1d250cdc02f237627c620
arch x86_64
build py311h06a4308_1
build_number 1
depends python >=3.11,<3.12.0a0
license Apache-2.0
license_family Apache
md5 44a6a90c27f1d250cdc02f237627c620
name aiorwlock
platform linux
sha1 5a07b79af88302b2806698a711c4d65b11332acc
sha256 bf5c6916b665e6891370ca0dc3eab7d6965502244b04b5085b0380d65f2b377d
size 20318
subdir linux-64
timestamp 1682949594291
version 1.3.0