Update g_semaphore.cpp