qthread_stackleft - Man Page
returns the amount of space left in the thread's allocated stack
Synopsis
#include <qthread.h>
size_t
qthread_stackleft (void);
Description
This function returns the number of bytes left in the stack.
Return Value
If run on a qthread, it returns the number of bytes left in the stack, accurate to a small margin (on the order of 10 bytes). Otherwise it returns 0.
See Also
Referenced By
qthread_distance(3), qthread_id(3), qthread_num_shepherds(3), qthread_readstate(3), qthread_retloc(3), qthread_shep(3), qthread_worker(3), qthread_worker_unique(3).
APRIL 2011 libqthread