Syntax:
object.Create([ max [, initial [, name]]])
Initializes the Semaphore. Must be called first.
max - maximum count for the semaphore. Default is 1 (long
integer - must be positive)
initial - the initial count of the semaphore (must be 0 to
max). Default is 1.
name - name of the
Semaphore, default is unnamed (empty string does the same).
|