objc

Data Fields
sys_waitgroup_t Struct Reference

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.
 
}; 
 

Detailed Description

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.

Examples:
clock/main.c.

Definition at line 103 of file sync.h.


The documentation for this struct was generated from the following file: