Mozilla.com

  1. MDC
  2. Main Page
  3. PR_DestroyMonitor
Table of contents
  1. 1. Syntax
  2. 2. Parameter
  3. 3. Description

PR_DestroyMonitor

Table of contents
  1. 1. Syntax
  2. 2. Parameter
  3. 3. Description

< NSPR API Reference < Monitors

Destroys a monitor object.

Syntax

#include <prmon.h> 

void PR_DestroyMonitor(PRMonitor *mon);

Parameter

The function has the following parameter:

mon
A reference to an existing structure of type PRMonitor.

Description

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.

Page last modified 01:52, 28 Mar 2006 by Rappo

Files (0)