#include "ithread.h"#include "LinkedList.h"#include "FreeList.h"#include "ThreadPool.h"Go to the source code of this file.
Data Structures | |
| struct | TIMERTHREAD |
| struct | TIMEREVENT |
Defines | |
| #define | INVALID_EVENT_ID (-10 & 1<<29) |
Typedefs | |
| typedef enum timeoutType | TimeoutType |
| typedef struct TIMERTHREAD | TimerThread |
| typedef struct TIMEREVENT | TimerEvent |
Enumerations | |
| enum | timeoutType { ABS_SEC, REL_SEC } |
Functions | |
| int | TimerThreadInit (TimerThread *timer, ThreadPool *tp) |
| int | TimerThreadSchedule (TimerThread *timer, time_t time, TimeoutType type, ThreadPoolJob *job, Duration duration, int *id) |
| int | TimerThreadRemove (TimerThread *timer, int id, ThreadPoolJob *out) |
| int | TimerThreadShutdown (TimerThread *timer) |
| #define INVALID_EVENT_ID (-10 & 1<<29) |
Definition at line 44 of file TimerThread.h.
| typedef enum timeoutType TimeoutType |
| typedef struct TIMEREVENT TimerEvent |
| typedef struct TIMERTHREAD TimerThread |
| enum timeoutType |
Definition at line 49 of file TimerThread.h.
| int TimerThreadInit | ( | TimerThread * | timer, | |
| ThreadPool * | tp | |||
| ) |
| int TimerThreadRemove | ( | TimerThread * | timer, | |
| int | id, | |||
| ThreadPoolJob * | out | |||
| ) |
| int TimerThreadSchedule | ( | TimerThread * | timer, | |
| time_t | time, | |||
| TimeoutType | type, | |||
| ThreadPoolJob * | job, | |||
| Duration | duration, | |||
| int * | id | |||
| ) |
| int TimerThreadShutdown | ( | TimerThread * | timer | ) |
1.6.1