Threading2

Latest version: v0.3.1

Safety actively analyzes 683322 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.3.1

* posix: don't try to use sched_setaffinity for setting thread affinity.
It requires the os-level thread id which we do not know without hackery.

0.3.0

* ThreadGroup: use weakrefs internally to avoid creating memory leaks.
* SHLock: fix cleanup logic when acquire() times out

0.2.1

* rework SHLock class to avoid deadlocks, be fair and re-entrant.
* ensure that the thread addinity is set properly on thread startup.

0.2.0

* add SHLock class for shared/exclusive (also known as read/write) locks.

0.1.4

* fix silly typo when loading libc (it's a miracle previous versions
worked at all!)

0.1.3

* better CPUSet <-> bitmask conversion
* posix: dynamically calculate size of _cpuset struct.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.