Error
public enum Error: Swift.Error
Semaphore
errors.
-
Invalid semaphore count.
This might be thrown when initializing a semaphore object with a negative value or zero as count.Declaration
Swift
case InvalidSemaphoreCount
-
Invalid semaphore name.
This might be thrown when initializing a semaphore object with an invalid name, or a name which is too long.Declaration
Swift
case InvalidSemaphoreName
-
Thrown when a failure occurs trying to initialize the native semaphore type.
Declaration
Swift
case CannotCreateSemaphore