diff options
| author | erdgeist <> | 2009-01-16 02:26:50 +0000 |
|---|---|---|
| committer | erdgeist <> | 2009-01-16 02:26:50 +0000 |
| commit | f12fa4c36216e83246767a3cff8dbc86e7d7c6eb (patch) | |
| tree | 989508ccc92346c03ccc02d55a84344165c2ad8b /trackerlogic.h | |
| parent | 66c906d5d3c100e5fe1e6f088bd1ea17c5831894 (diff) | |
Use a self pipe to wake from io_wait when a thread finished his work.
Diffstat (limited to 'trackerlogic.h')
| -rw-r--r-- | trackerlogic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trackerlogic.h b/trackerlogic.h index 42cecb3..3857202 100644 --- a/trackerlogic.h +++ b/trackerlogic.h | |||
| @@ -56,7 +56,7 @@ extern volatile int g_opentracker_running; | |||
| 56 | #define g_now_minutes (g_now_seconds/60) | 56 | #define g_now_minutes (g_now_seconds/60) |
| 57 | 57 | ||
| 58 | extern uint32_t g_tracker_id; | 58 | extern uint32_t g_tracker_id; |
| 59 | typedef enum { FLAG_TCP, FLAG_UDP, FLAG_MCA } PROTO_FLAG; | 59 | typedef enum { FLAG_TCP, FLAG_UDP, FLAG_MCA, FLAG_SELFPIPE } PROTO_FLAG; |
| 60 | 60 | ||
| 61 | typedef struct { | 61 | typedef struct { |
| 62 | uint8_t data[OT_IP_SIZE+2+2]; | 62 | uint8_t data[OT_IP_SIZE+2+2]; |
