Definition in file RKObserverAdvocate.cc.
Include dependency graph for RKObserverAdvocate.cc:
Go to the source code of this file.
Defines | |
#define | timespecclear(tvp) ((tvp)->tv_sec = (tvp)->tv_nsec = 0) |
Clear a timespec structure. | |
#define | timespecisset(tvp) ((tvp)->tv_sec || (tvp)->tv_nsec) |
Test if a timespec has non-zero values. | |
#define | timespeccmp(tvp, uvp, cmp) |
Compare two timespec structures. | |
#define | timespecadd(vvp, uvp) |
Add one timespec to another. | |
#define | timespecsub(vvp, uvp) |
Subtract one timespec from another. | |
Functions | |
void * | trampoline (void *arg) |
Trampoline function for new threads that calls the 'run' method of RKObserverAdvocate. |
|
Value: do { \ (vvp)->tv_sec += (uvp)->tv_sec; \ (vvp)->tv_nsec += (uvp)->tv_nsec; \ if ((vvp)->tv_nsec >= 1000000000) { \ (vvp)->tv_sec++; \ (vvp)->tv_nsec -= 1000000000; \ } \ } while (0)
Definition at line 66 of file RKObserverAdvocate.cc. |
|
Clear a timespec structure.
Definition at line 39 of file RKObserverAdvocate.cc. |
|
Value: (((tvp)->tv_sec == (uvp)->tv_sec) ? \ ((tvp)->tv_nsec cmp (uvp)->tv_nsec) : \ ((tvp)->tv_sec cmp (uvp)->tv_sec))
Definition at line 55 of file RKObserverAdvocate.cc. |
|
Test if a timespec has non-zero values.
Definition at line 46 of file RKObserverAdvocate.cc. |
|
Value: do { \ (vvp)->tv_sec -= (uvp)->tv_sec; \ (vvp)->tv_nsec -= (uvp)->tv_nsec; \ if ((vvp)->tv_nsec < 0) { \ (vvp)->tv_sec--; \ (vvp)->tv_nsec += 1000000000; \ } \ } while (0)
Definition at line 82 of file RKObserverAdvocate.cc. |
|
Trampoline function for new threads that calls the 'run' method of RKObserverAdvocate.
Definition at line 100 of file RKObserverAdvocate.cc. References require, and RKObserverAdvocate::run(). Referenced by RKObserverAdvocate::BeginCPUScheduling(). |
Here is the call graph for this function: