Deinitializes the specified reader-writer lock.
#include <nks/synch.h> void NXRwLockDeinit ( NXRwLock_t *lock));
(IN) Points to the reader-writer lock to deinitialize.
NXRwLockDeinit does not release the memory for the reader-writer lock, but does release the memory allocated by the NXRwLockInit function. The reader-writer lock being deinitialized must have been initialized by calling NXRwLockInit.
To free the memory for the reader-writer lock, call the function that corresponds to the function you used to allocate memory for the lock. For example, if you used malloc the for lock, use free to release the memory.