Semaphore optimization flags