Panda3D

Loading...
Searching...
No Matches
Public Member Functions | List of all members
MutexDummyImpl Class Reference

A fake mutex implementation for single-threaded applications that don't need any synchronization control. More...

`#include "mutexDummyImpl.h"`

## Public Member Functions
| MutexDummyImpl (const MutexDummyImpl &copy)=delete
void | lock ()
MutexDummyImpl & | operator= (const MutexDummyImpl &copy)=delete
bool | try_lock ()
void | unlock ()

## Detailed Description

A fake mutex implementation for single-threaded applications that don't need any synchronization control.

This does nothing at all.

Definition at line 24 of file mutexDummyImpl.h.

## Member Function Documentation

## ◆ lock()

void MutexDummyImpl::lock | ( |  | ) |
| inline

Definition at line 17 of file mutexDummyImpl.I.

## ◆ try_lock()

bool MutexDummyImpl::try_lock | ( |  | ) |
| inline

Definition at line 24 of file mutexDummyImpl.I.

## ◆ unlock()

void MutexDummyImpl::unlock | ( |  | ) |
| inline

Definition at line 32 of file mutexDummyImpl.I.

The documentation for this class was generated from the following files:

- dtool/src/dtoolbase/mutexDummyImpl.h
- dtool/src/dtoolbase/mutexDummyImpl.I