libnx
v4.8.0
|
Multi-threading Barrier. More...
Go to the source code of this file.
Data Structures | |
struct | Barrier |
Barrier structure. More... | |
Functions | |
void | barrierInit (Barrier *b, u64 thread_count) |
Initializes a barrier and the number of threads to wait on. More... | |
void | barrierWait (Barrier *b) |
Forces threads to wait until all threads have called barrierWait. More... | |
Multi-threading Barrier.
Initializes a barrier and the number of threads to wait on.
b | Barrier object. |
thread_count | Initial value for the number of threads the barrier must wait for. |