A simple semaphore class for bordeaux-threads inspired by SBCL's semaphore.