stub out semaphore code