Unlock a thread spinlock
#include <pthread.h> int pthread_spin_unlock( spinlock_t * spinner );
- A pointer to the pthread_spinlock_t object that you want to unlock.
Use the -l c option to qcc to link against this library. This library is usually included automatically.
If there are threads spinning on spinner, the spinlock becomes available, and an unspecified thread acquires the lock.
- Invalid process spinlock spinner.
- The calling thread doesn't hold the lock.
Last modified: 2014-06-24