Update slot.Pool: replace BoundedSemaphore (not supported by Mac OS X) by Semaphore