Multithreaded Programming Guide

pthread_spin_destroy() Return Values


EBUSY

Description:

The system has detected an attempt to initialize or destroy a spin lock while the lock is in use (for example, while being used in a pthread_spin_lock() call) by another thread.


EINVAL

Description:

The value specified by lock is invalid.