projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
1.Fix bug that memslap can't start up(ms_thread=NULL). 2.ignore signal SIGPIPE. 3...
[m6w6/libmemcached]
/
clients
/
ms_memslap.h
diff --git
a/clients/ms_memslap.h
b/clients/ms_memslap.h
index 8777c5bb2466a14419a37b5e6be47699c926adb4..540fed0e16c218aa3f6ffe015852df4a491aab00 100644
(file)
--- a/
clients/ms_memslap.h
+++ b/
clients/ms_memslap.h
@@
-71,7
+71,7
@@
typedef struct statistic
/* global status statistic structure */
typedef struct stats
{
/* global status statistic structure */
typedef struct stats
{
- volatile int32_t active_conns; /* active connections */
+ volatile
u
int32_t active_conns; /* active connections */
size_t bytes_read; /* read bytes */
size_t bytes_written; /* written bytes */
size_t obj_bytes; /* object bytes */
size_t bytes_read; /* read bytes */
size_t bytes_written; /* written bytes */
size_t obj_bytes; /* object bytes */
@@
-102,6
+102,7
@@
typedef struct global
{
/* synchronize lock */
ms_sync_lock_t init_lock;
{
/* synchronize lock */
ms_sync_lock_t init_lock;
+ ms_sync_lock_t warmup_lock;
ms_sync_lock_t run_lock;
/* mutex for outputing error log synchronously when memslap crashes */
ms_sync_lock_t run_lock;
/* mutex for outputing error log synchronously when memslap crashes */