F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
Os::Darwin Namespace Reference

Namespaces

 Cpu
 
 Memory
 
 Semaphore
 

Functions

Os::CountingSemaphore::Status dispatch_result_to_semaphore_status (long dispatch_result)
 

Function Documentation

◆ dispatch_result_to_semaphore_status()

Os::CountingSemaphore::Status Os::Darwin::dispatch_result_to_semaphore_status ( long  dispatch_result)

Convert a dispatch_semaphore_wait return value to Os::CountingSemaphore::Status.

Parameters
dispatch_resultreturn value from dispatch_semaphore_wait (0 = success, non-zero = timeout)
Returns
: Os::CountingSemaphore::Status representation

Definition at line 10 of file error.cpp.