BSD Ports

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

SystemPortVersion
FreeBSDdevel/py-aiorwlock1.5.1
DragonFlydevel/py-aiorwlock1.5.0
HardenedBSDdevel/py-aiorwlock1.5.1
GhostBSDdevel/py-aiorwlock1.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.5.11.5.1-1.5.01.5.1
FreeBSD:14:quarterly1.5.11.5.1n/a1.5.01.5.1
FreeBSD:15:latest1.5.11.5.1n/a1.5.01.5.0
FreeBSD:15:quarterly1.5.11.5.1n/an/an/a
FreeBSD:16:latest1.5.11.5.1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

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
FileSizeSHA256
aiorwlock-1.5.1.tar.gz72882729c77ec736c8d85ec305aa3827a50394fd8c6d823f4404d301cc8c59a4b7f5
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.