|
cisst-saw
|
Files | |
| file | tmp/cisst-saw/cisst/cisstOSAbstraction/osaCPUAffinity.h |
| Functions for multi-core CPUs. | |
| file | tmp/cisst-saw/cisst/cisstOSAbstraction/osaMutex.h |
| Declaration of osaMutex. | |
| file | tmp/cisst-saw/cisst/cisstOSAbstraction/osaSocket.h |
| Declaration of osaSocket. | |
| file | tmp/cisst-saw/cisst/cisstOSAbstraction/osaSocketServer.h |
| Declaration of osaSocketServer. | |
| file | tmp/cisst-saw/cisst/cisstOSAbstraction/osaThread.h |
| Declaration of osaThread. | |
| file | tmp/cisst-saw/cisst/cisstOSAbstraction/osaThreadAdapter.h |
| Defines a thread adapter. | |
| file | tmp/cisst-saw/cisst/cisstOSAbstraction/osaThreadSignal.h |
| Declaration of osaThreadSignal. | |
Classes | |
| class | osaDynamicLoader |
| Dynamically load a shared library file. More... | |
| class | osaDynamicLoaderAndFactory< BaseClass > |
| Dynamically load a shared library file and find the factory methods in the file. More... | |
| class | osaMutex |
| Define a Mutex object. More... | |
| class | osaSerialPort |
| Serial port. More... | |
| class | osaThread |
| Define a thread object. More... | |
| struct | osaCallBackBase< _objectType, _callBackMethodType, _userDataType > |
| struct | osaHeapCallBack< _objectType, _userDataType, _callBackReturnType, _callBackArgumentType > |
| class | osaThreadBuddy |
| Implementation of the Thread Proxy object in an OS independent manner. More... | |
| class | osaTimeServer |
| Class for relative time. More... | |
Functions | |
| void CISST_EXPORT | osaSleep (double timeInSeconds) |
| Define osaSleep. | |
| CISST_EXPORT void | __os_init (void) |
| CISST_EXPORT void | __os_exit (void) |
| CISST_EXPORT void __os_exit | ( | void | ) |
The OS dependent cleanup that is to be executed for real-time support. This is called from the destructor of TaskManager.
| CISST_EXPORT void __os_init | ( | void | ) |
The OS dependent initialization that is to be executed for real-time support. This is called from the constructor of TaskManager, which is implemented as singleton.
| void CISST_EXPORT osaSleep | ( | double | timeInSeconds | ) |
Define osaSleep.
Execute a wait or sleep. This is intended for general purpose use; no time guarantees are made on any OS. Within a thread, it is preferable to call osaThread::Sleep. The mtsTask class provides mtsTask::Sleep, which invokes osaThread::Sleep.
On some platforms, osaSleep might block the calling thread and not relinquish the processor to other threads. In particular, there are reports that calling osaSleep in RTAI may lead to stack overflows.
| time | Time in seconds to sleep |