Structure for tracking initialization.
The structure has these fields:
- If not zero, the initialization process has been completed.
- If not zero, the initialization process is currently being executed. Calling threads that observe this status block until inProgress is zero.
- An indication of the outcome of the initialization process.
The client is responsible for initializing the
PRCallOnceType structure to all zeros. This initialization must be accomplished before any threading issues exist.