Destroys a specified lock object.
#include <prlock.h> void PR_DestroyLock(PRLock *lock);
PR_DestroyLock has one parameter:
lockThe caller must ensure that no thread is currently in a lock-specific function. Locks do not provide self-referential protection against deletion.