IccSemaphore constructor
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.
Constructor (2)
IccSemaphore (const IccLockId&
id
,
LifeTime
life
= UOW)
id
A reference to an
IccLockId
object
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.
[[
Contents
Previous Page
|
Next Page
Index
]]