diff options
Diffstat (limited to 'ot_mutex.h')
-rw-r--r-- | ot_mutex.h | 35 |
1 files changed, 19 insertions, 16 deletions
@@ -16,22 +16,25 @@ void mutex_bucket_unlock( int bucket ); | |||
16 | void mutex_bucket_unlock_by_hash( ot_hash *hash ); | 16 | void mutex_bucket_unlock_by_hash( ot_hash *hash ); |
17 | 17 | ||
18 | typedef enum { | 18 | typedef enum { |
19 | TASK_STATS_CONNS = 0x0000, | 19 | TASK_STATS_CONNS = 0x0001, |
20 | TASK_STATS_PEERS = 0x0001, | 20 | TASK_STATS_TCP = 0x0002, |
21 | TASK_STATS_TOP5 = 0x0002, | 21 | TASK_STATS_UDP = 0x0003, |
22 | TASK_STATS_TCP = 0x0003, | 22 | TASK_STATS_SCRAPE = 0x0004, |
23 | TASK_STATS_UDP = 0x0004, | 23 | TASK_STATS_FULLSCRAPE = 0x0005, |
24 | TASK_STATS_SCRAPE = 0x0005, | 24 | TASK_STATS_TPB = 0x0006, |
25 | TASK_STATS_FULLSCRAPE = 0x0006, | 25 | TASK_STATS_HTTPERRORS = 0x0007, |
26 | TASK_STATS_TPB = 0x0007, | 26 | TASK_STATS_STARTSTOP = 0x0008, |
27 | TASK_STATS_HTTPERRORS = 0x0008, | 27 | TASK_STATS_TORADDREM = 0x0009, |
28 | TASK_STATS_TORRENTS = 0x0009, | 28 | TASK_STATS_VERSION = 0x000a, |
29 | TASK_STATS_STARTSTOP = 0x000a, | 29 | TASK_STATS_BUSY_NETWORKS = 0x000b, |
30 | TASK_STATS_TORADDREM = 0x000b, | 30 | TASK_STATS_VECTOR_DEBUG = 0x000c, |
31 | TASK_STATS_VERSION = 0x000c, | 31 | |
32 | TASK_STATS_BUSY_NETWORKS = 0x000d, | 32 | TASK_STATS = 0x0100, /* Mask */ |
33 | 33 | TASK_STATS_TORRENTS = 0x0101, | |
34 | TASK_STATS_SLASH24S = 0x0100, | 34 | TASK_STATS_PEERS = 0x0102, |
35 | TASK_STATS_SLASH24S = 0x0103, | ||
36 | TASK_STATS_TOP10 = 0x0104, | ||
37 | TASK_STATS_MEMORY = 0x0105, | ||
35 | 38 | ||
36 | TASK_FULLSCRAPE = 0x0200, /* Default mode */ | 39 | TASK_FULLSCRAPE = 0x0200, /* Default mode */ |
37 | TASK_FULLSCRAPE_TPB_BINARY = 0x0201, | 40 | TASK_FULLSCRAPE_TPB_BINARY = 0x0201, |