fixing code review comments regarding syscalls in cross_thread_semaphore_t