pr_destroymonitor.rst (543B)
1 PR_DestroyMonitor 2 ================= 3 4 Destroys a monitor object. 5 6 7 Syntax 8 ------ 9 10 .. code:: 11 12 #include <prmon.h> 13 14 void PR_DestroyMonitor(PRMonitor *mon); 15 16 17 Parameter 18 ~~~~~~~~~ 19 20 The function has the following parameter: 21 22 ``mon`` 23 A reference to an existing structure of type :ref:`PRMonitor`. 24 25 26 Description 27 ----------- 28 29 The caller is responsible for guaranteeing that the monitor is no longer 30 in use before calling :ref:`PR_DestroyMonitor`. There must be no thread 31 (including the calling thread) in the monitor or waiting on the monitor.