devel/py-aiorwlock 1.5.1 FreeBSD
Read write lock for asyncio
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- APACHE20
- Categories
- devel, python
- Package size
- 13.8 KiB, 61.7 KiB installed
Description
aiorwlock provides 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.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-aiorwlock | 1.5.1 |
| DragonFly | devel/py-aiorwlock | 1.5.0 |
| HardenedBSD | devel/py-aiorwlock | 1.5.1 |
| GhostBSD | devel/py-aiorwlock | 1.5.1 |
Install
Binary package:
pkg install py312-aiorwlock
From the ports tree:
cd /usr/ports/devel/py-aiorwlock/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-aiorwlock>0:devel/py-aiorwlock
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.5.1 | 1.5.1 | - | 1.5.0 | 1.5.1 |
| FreeBSD:14:quarterly | 1.5.1 | 1.5.1 | n/a | 1.5.0 | 1.5.1 |
| FreeBSD:15:latest | 1.5.1 | 1.5.1 | n/a | 1.5.0 | 1.5.0 |
| FreeBSD:15:quarterly | 1.5.1 | 1.5.1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.5.1 | 1.5.1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0: devel/py-poetry-core
The full lists below include those, and their dependencies in turn.
Build dependencies 15
Run dependencies 7
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| aiorwlock-1.5.1.tar.gz | 7288 | 2729c77ec736c8d85ec305aa3827a50394fd8c6d823f4404d301cc8c59a4b7f5 |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.