Lines Matching full:thread

38  *	Declaration of thread pool.
57 /****h* Component Library/Thread Pool
59 * Thread Pool
62 * The Thread Pool manages a user specified number of threads.
64 * Each thread in the thread pool waits for a user initiated signal before
65 * invoking a user specified callback function. All threads in the thread
68 * The thread pool functions operate on a cl_thread_pool_t structure which
82 /****s* Component Library: Thread Pool/cl_thread_pool_t
87 * Thread pool structure.
106 * Callback function for the thread to invoke.
109 * Context to pass to the thread callback function.
121 * conditional variable to signal an event to thread
124 * array of allocated thread ids.
127 * Thread Pool
130 /****f* Component Library: Thread Pool/cl_thread_pool_init
136 * managed by a thread pool.
148 * [in] Pointer to a thread pool structure to initialize.
151 * [in] Number of threads to be managed by the thread pool.
154 * [in] Address of a function to be invoked by a thread.
167 * CL_SUCCESS if the thread pool creation succeeded.
170 * the thread pool.
176 * If thread_count is zero, the thread pool creates as many threads as there
180 * Thread Pool, cl_thread_pool_destroy,
184 /****f* Component Library: Thread Pool/cl_thread_pool_destroy
190 * for a thread pool.
198 * [in] Pointer to a thread pool structure to destroy.
205 * be called from any of the thread pool's threads. Because of its blocking
207 * state is valid from the calling thread context.
213 * Thread Pool, cl_thread_pool_init
216 /****f* Component Library: Thread Pool/cl_thread_pool_signal
221 * The cl_thread_pool_signal function signals a single thread of
222 * the thread pool to invoke the thread pool's callback function.
230 * [in] Pointer to a thread pool structure to signal.
233 * CL_SUCCESS if the thread pool was successfully signalled.
238 * Each call to this function wakes up at most one waiting thread in
239 * the thread pool.
244 * Thread Pool