Repository navigation
v0.1.2
NestedThreading v0.1.2
quiesce_foreign_pools(): before aThreads.@threadsregion, registered pools can release Julia's threads, so the region does not wait for spinning workers of another threading library (#3).- Soft thread defaults (
with_thread_default): run a computation with every registered library atnthreads by default, without capping the calls inside it the way a hardwith_thread_budgetwould. - Thread grants (
with_thread_grant): let a call known to be large enough thread despite a soft default in force. Grants never override a hard limit. - Park hooks (
register_park_hook!,park_openblas): when a grant closes and a pool's count goes down, the library can release the cores its idle workers would otherwise keep spinning on. - A pool is never parked while a partial hard limit is open, and a worker that another task's
@batchholds is never parked (#4).
Merged pull requests: