balance_semaphores() returns the number of unsemaphored jobs, and the second...
balance_semaphores() returns the number of unsemaphored jobs, and the second sync() is only done if a nonzero number of semaphored jobs were unsemaphored
Please register or sign in to comment