Write semaphore configurations.