cp_thread_join(3) - Linux man page

Name

cp_thread - cprops thread framework

Description

<cprops/thread.h> defines the cprops thread framework, offering thread pooling and load balancing. The current implementation is based on the POSIX thread api. In particular the cp_thread structure is a mnemonic for pthread_t, and the cp_thread_create(), cp_thread_join and cp_thread_detach functions are mnemonics for the pthread_* counterparts. The main intended usage is through the cp_thread_pool(3) structure so that threads would normally be created in the process of the pool initialization rather than with an explicit function call.

The prototype for client thread functions should match

void *thread_fn(void *prm);
Load balancing is done by creating multiple thread pools sharing the same cp_pooled_thread_scheduler(3) object.

See Also

cp_thread_pool(3), cp_pooled_thread_scheduler(3), cp_pooled_thread_client_interface(3), pthread_create(3), pthread_join(3), pthread_detach(3)