chsvlib
chsv helper source code

◆ chsv_thread_return_constants

Possible integer codes that are returned by the thread managing functions.

Enumerator
chsv_thrd_success 

Operation completed successfully.

chsv_thrd_timeout 

A blocking operation did not succeed because of timeout.

chsv_thrd_busy 

An attempt to acquire an ownership of a thread-managing object failed because the object is already owned by another thread.

chsv_thrd_error 

Operation failed because of error. See errno for further information.

chsv_thrd_nomem 

Operation failed because it was unable to allocate enough memory.