Function Device.createSemaphore

abstract Semaphore createSemaphore();