|
Kannel: Open Source WAP and SMS gateway
svn-r5336
|
Go to the source code of this file.
Data Structures | |
| struct | TimerItem |
Macros | |
| #define | MAX_RETRY 3 |
| #define | FREQ 10 |
Typedefs | |
| typedef struct TimerItem | TimerItem |
Functions | |
| static void | timer_consumer_thread (void *arg) |
| static void | timer_retry_cb (void *arg) |
| static void | retry_consumer_thread (void *arg) |
| int | main () |
Variables | |
| static Timerset * | timerset = NULL |
| static List * | q_timer = NULL |
| static List * | q_retry = NULL |
| #define FREQ 10 |
Definition at line 68 of file test_timerset.c.
Referenced by main(), retry_consumer_thread(), and timer_consumer_thread().
| #define MAX_RETRY 3 |
Definition at line 67 of file test_timerset.c.
Referenced by retry_consumer_thread(), and timer_consumer_thread().
| int main | ( | void | ) |
Definition at line 154 of file test_timerset.c.
References debug(), FREQ, gw_timer_create(), gw_timer_elapsed_start(), gw_timerset_count(), gw_timerset_create(), gw_timerset_destroy(), gwlib_init(), gwlib_shutdown(), gwlist_add_producer(), gwlist_create, gwlist_destroy(), gwlist_remove_producer(), gwthread_create, gwthread_join(), gwthread_sleep(), TimerItem::msg, msg_create, q_retry, q_timer, retry_consumer_thread(), TimerItem::timer, timer_consumer_thread(), timer_retry_cb(), and timerset.
|
static |
Definition at line 131 of file test_timerset.c.
References debug(), FREQ, gw_timer_create(), gw_timer_elapsed_start(), gwlist_consume(), MAX_RETRY, TimerItem::msg, msg, msg_destroy(), TimerItem::timer, timer_retry_cb(), timerset, and warning().
Referenced by main().
|
static |
Definition at line 87 of file test_timerset.c.
References debug(), FREQ, gw_timer_elapsed_destroy(), gw_timer_elapsed_start(), gwlist_consume(), MAX_RETRY, TimerItem::msg, msg_destroy(), TimerItem::timer, and warning().
Referenced by main().
|
static |
Definition at line 115 of file test_timerset.c.
References gw_timer_elapsed_destroy_cb(), gwlist_produce(), TimerItem::msg, q_retry, and TimerItem::timer.
Referenced by main(), and retry_consumer_thread().
|
static |
Definition at line 79 of file test_timerset.c.
Referenced by main(), and timer_retry_cb().
|
static |
Definition at line 78 of file test_timerset.c.
Referenced by main().
|
static |
Definition at line 76 of file test_timerset.c.
Referenced by main(), and retry_consumer_thread().