Design Pattern Examples
Overview of object-oriented design patterns
Mutex Struct Reference

Represents a handle to a mutex. Call mutex_create() to create the mutex and mutex_destroy() to destroy the mutex (when done with it). More...

#include <mutex.h>

Collaboration diagram for Mutex:
Collaboration graph

Public Attributes

void * handle
 An opaque value that represents the operating system-specific mutex.
 

Detailed Description

Represents a handle to a mutex. Call mutex_create() to create the mutex and mutex_destroy() to destroy the mutex (when done with it).

Definition at line 15 of file mutex.h.

Member Data Documentation

◆ handle

void* handle

An opaque value that represents the operating system-specific mutex.

Definition at line 21 of file mutex.h.

Referenced by mutex_create(), mutex_destroy(), mutex_lock(), and mutex_unlock().


The documentation for this struct was generated from the following file: