Skip to content

0.1.9

Compare
Choose a tag to compare
@shayanhabibi shayanhabibi released this 26 Nov 06:33
· 21 commits to main since this release
a8c3adb

Changelog

Loony

  • Added destroy proc

Wards

  • Added PoolWaiter flag
    • Pool waiter is used when threads are using loony as a work queue in a threadpool environment. Pops that would result in a nil return instead use a futex to await on the queue. When a thread successfully pushes, they wake a waiting thread that will then pop the item off. There is lots of room to optimise this within the loony code, however this is the best that can be done on the Ward side.
    • The killWaiters proc is used to awaken threads and force them to return a nil value instead of waiting.