Implemented FifoSemaphore