|
RTEMS CPU Kit with SuperCore
|
Destroy a Spinlock. More...
#include <pthread.h>#include <errno.h>#include <rtems/system.h>#include <rtems/posix/spinlockimpl.h>
Functions | |
| int | pthread_spin_destroy (pthread_spinlock_t *spinlock) |
| This directive allows a thread to delete a spinlock specified by the spinlock id. More... | |
Destroy a Spinlock.
| int pthread_spin_destroy | ( | pthread_spinlock_t * | spinlock | ) |
This directive allows a thread to delete a spinlock specified by the spinlock id.
The spinlock is freed back to the inactive spinlock chain.
| [in] | spinlock | is the spinlock id |
References _Objects_Allocator_lock(), and _POSIX_Spinlock_Get().
1.8.13