Initializes a semaphore object with the specified initial count.
The initial count for the semaphore.
SyncError on error.
See Implementation
Initializes a semaphore object with the specified initial count.