1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-28 22:25:52 +00:00
QB64-PE/internal/c/libqb/include
Matthew Kilgore ecfc71ef95 Add completion API
Completions are basically a oneshot flag, which provide a `wait()` call
that blocks until 'finish()' has been called on the completion.

The nice aspect of completions is that because it is a oneshot the order
does not matter - if 'finish()' is called before 'wait()' then 'wait()'
returns immediately. It makes the logic for waiting until a thread is
done finishing up some work easy to implement.
2022-06-11 22:47:06 -04:00
..
completion.h Add completion API 2022-06-11 22:47:06 -04:00
condvar.h Add generic thread, mutex, and condvar API 2022-06-11 22:47:06 -04:00
mutex.h Add generic thread, mutex, and condvar API 2022-06-11 22:47:06 -04:00
thread.h Add generic thread, mutex, and condvar API 2022-06-11 22:47:06 -04:00