All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
Pylon::CLock Class Reference

A simple recursive lock class. More...

#include <pylon/TypeMappings.h>

Public Member Functions

 CLock ()
 Constructs a lock object. The lock is not initially locked.
 
bool TryLock ()
 Tries to acquire the lock. If the lock currently locked by another thread the function returns immediately and returns false.
 
void Lock ()
 Acquires the lock. If the lock is currently held by another thread the function waits until the other thread releases the lock.
 
void Unlock ()
 Releases the lock.
 

Detailed Description

A simple recursive lock class.

See Also
AutoLock

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

pylon 5.0.9
Copyright © 2006-2017 Basler AG (Tue May 30 2017 17:24:58)