Bucketed semaphore WIP.