6 #include <picofuse/sys.h> 20 sys_waitgroup_t *_waitgroup;
34 - (void)add:(
int)count;
void done()
Takes one away from the count.
id init()
Initializes a wait group, with a count of zero.
void wait()
Waits until the count is zero, which is straight away if it already is.
The base class for objects in the Foundation framework.
A count of work to be done, which threads can wait for to reach zero.
struct objc_object * id
A pointer to an instance of a class.