Table of Contents

Name

future_exit - finalize a future computation

Synopsis

#include <qthread/futurelib.h>

void
future_exit(qthread_t *me);

Description

Threads created as futures must call this function as their final action before termination in order to release resources.

The argument is the qthread pointer of the terminating thread, which can be found out using qthread_self().

See Also

future_join_all(3) , future_init(3) , future_exit(3) , future_yield(3) , future_acquire(3)


Table of Contents