Repository navigation
v0.17.0-alpha
Pre-release
Pre-release
·
1 commit
to main
since this release
Added
io_status::kind::unknown#444 @jbaldwin- This changelog #465 @PyXiion
- Release workflow that publishes a GitHub release with notes from this changelog when a
vX.Y.Ztag is pushed #465 @PyXiion
Changed
coro::schedulerno longer takes a lock when scheduling or resuming tasks; they are enqueued on an atomic waiter list and run in order. Directly resumedstd::coroutine_handle<>s allocate aschedule_operation,co_awaited tasks do not. Operations with timeouts viapoll_infostill use a global lock #444 @jbaldwin-Wall,-Wextraand/W4are now private to the project instead of being propagated to consumers #457 @daantimmer- Removed the
-pipecompile flag #456 @jbaldwin - Breaking:
coro::thread_poolnow uses per-worker LIFO queues with work stealing instead of one shared FIFO queue, so recursive fork-join workloads run depth first and use far less memory (nqueens peak RSS 5.66 GiB -> 11 MiB). External submissions,resume(),yield()andspawn_*still use the shared FIFO queue, which workers check periodically to avoid starvation #460 @PyXiion - Breaking:
schedule()called from a pool worker now runs local work in LIFO order; useyield()to give other queued tasks a turn #460 @PyXiion - Breaking:
coro::scheduler::process_events()now returnsbool#460 @PyXiion thread_poolshutdown rejects new publications and drains accepted resumptions. Tasks suspended on external events must be joined before shutting down the pool #460 @PyXiion
Removed
- Breaking:
thread_pool::size(),thread_pool::queue_size()andscheduler::size(). Useempty()where available #460 @PyXiion
Fixed
coro::task_groupno longer blocks forever when awaited without any tasks having been started #451 @ripose-jp- Android CI uses
android-actions/setup-android@v4#463 @jbaldwin