![]() |
Oyranos Color Management System API |
Threading support in Oyranos is kept intentionally simple. Object level locking is available. Eigther avoid Oyranos locking by encapsulating it into a own locking model. Or provide locking functions in oyThreadLockingSet(), which can detect recursive lock conditions. Recursive locks might not be a problem with POSIX systems and pthreads PTHREAD_MUTEX_RECURSIVE.
Call oyThreadLockingSet() in order to use own thread locking functions. The function must be used before any call to Oyranos.