Defined in file: hzProcess.h
Controls 'external' resources such as files
Constructors/Detructors
| hzSysLock* | hzSysLock | (void) | |
| void | ~hzSysLock | (void) |
Public Methods:
| void | Lock | (void) | Lock semaphore Arguments: None Returns: None |
| void | Unlock | (void) | Unlock semaphore Arguments: None Returns: None |
| void | _halt | (void) | Releases semaphore Arguments: None Returns: None |
| void | _init | (void) | Obtains a semaphore id for the semaphore set and a resource id (both needed for Lock/Unlock) Arguments: None Returns: None |
Member Variables:
| uint32_t | m_count | Number of nested calls to lock by same thread | |
| int32_t | m_lockval | The thread that has the lock | |
| uint32_t | m_nResource | Slot within semaphore group | |
| int32_t | m_nSemId | Unique id for semahore group |