Destroys a monitor object.
#include <prmon.h> void PR_DestroyMonitor(PRMonitor *mon);
The function has the following parameter:
- A reference to an existing structure of type
The caller is responsible for guaranteeing that the monitor is no longer in use before calling
PR_DestroyMonitor. There must be no thread (including the calling thread) in the monitor or waiting on the monitor.