Initialize a sleepon
#include <pthread.h> int _sleepon_init( sleepon_t ** pl, unsigned flags);
- The address of a location where the function can store a pointer to the sleepon_t object that it creates.
- There are currently no flags defined; pass zero for this argument.
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The _sleepon_init() function allocates a sleepon_t object (which is an opaque data structure) and stores a pointer to it in the location that pl points to.
Last modified: 2013-09-30