Constructor (1)
IccSemaphore (const char* resource,
LockType type = byValue,
LifeTime life = UOW)
- resource
- A text string, if type is byValue, otherwise an address in storage.
- type
- An enumeration, defined in this class, that indicates whether locking is by value or by address. The default is by value.
- life
- An enumeration, defined in this class, that indicates how long the semaphore lasts. The default is to last for the length of the UOW.