summaryrefslogtreecommitdiff
path: root/trackerlogic.h
diff options
context:
space:
mode:
authorerdgeist <>2009-01-16 02:26:50 +0000
committererdgeist <>2009-01-16 02:26:50 +0000
commitf12fa4c36216e83246767a3cff8dbc86e7d7c6eb (patch)
tree989508ccc92346c03ccc02d55a84344165c2ad8b /trackerlogic.h
parent66c906d5d3c100e5fe1e6f088bd1ea17c5831894 (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.h2
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
58extern uint32_t g_tracker_id; 58extern uint32_t g_tracker_id;
59typedef enum { FLAG_TCP, FLAG_UDP, FLAG_MCA } PROTO_FLAG; 59typedef enum { FLAG_TCP, FLAG_UDP, FLAG_MCA, FLAG_SELFPIPE } PROTO_FLAG;
60 60
61typedef struct { 61typedef struct {
62 uint8_t data[OT_IP_SIZE+2+2]; 62 uint8_t data[OT_IP_SIZE+2+2];