Waitgroup context structure. More...
#include <runtime-sys/sys.h>
Data Fields | |
bool | init |
Indicates if the waitgroup is initialized. | |
union { | |
uint8_t ctx [SYS_WAITGROUP_CTX_SIZE] | |
Embedded buffer for platform-specific data. | |
uint64_t align | |
Force 8-byte alignment. | |
}; | |
Waitgroup context structure.
Contains the state and configuration for waitgroup operations. A waitgroup allows one goroutine to wait for a collection of goroutines to finish executing.