projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
Small updates/wins around non-block IO
[m6w6/libmemcached]
/
libmemcached
/
server.h
diff --git
a/libmemcached/server.h
b/libmemcached/server.h
index 6a2ae5eea1a77dfbf2a7f113597868793c956b25..eabf7f0ff95725cf506f892810c68f09a6697711 100644
(file)
--- a/
libmemcached/server.h
+++ b/
libmemcached/server.h
@@
-32,6
+32,10
@@
struct memcached_server_st {
bool is_corked:1;
bool is_dead:1;
} state;
+ struct {
+ uint32_t read;
+ uint32_t write;
+ } io_wait_count;
uint8_t major_version;
uint8_t micro_version;
uint8_t minor_version;