diff options
author | Brian Aker <brian@gaz> | 2010-01-19 11:10:54 -0800 |
---|---|---|
committer | Brian Aker <brian@gaz> | 2010-01-19 11:10:54 -0800 |
commit | fe5b4854b046a8b0613c89303b04d7e60e4c8223 (patch) | |
tree | ac8c161aaa67896ba4a52fe799ec3fe6c9a18a00 /clients/ms_thread.h | |
parent | 4408f5168a2640feb59f16987833b36f206176cb (diff) | |
download | libmemcached-fe5b4854b046a8b0613c89303b04d7e60e4c8223.tar.gz |
Compiles.
Diffstat (limited to 'clients/ms_thread.h')
-rw-r--r-- | clients/ms_thread.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clients/ms_thread.h b/clients/ms_thread.h index 3eea2563..8cb98bde 100644 --- a/clients/ms_thread.h +++ b/clients/ms_thread.h @@ -40,9 +40,9 @@ typedef unsigned int rel_time_t; /* Used to store the context of each thread */ typedef struct thread_ctx { - int thd_idx; /* the thread index */ - int nconns; /* how many connections included by the thread */ - int srv_idx; /* index of the thread */ + uint32_t thd_idx; /* the thread index */ + uint32_t nconns; /* how many connections included by the thread */ + uint32_t srv_idx; /* index of the thread */ int tps_perconn; /* expected throughput per connection */ int64_t exec_num_perconn; /* execute number per connection */ } ms_thread_ctx_t; @@ -51,7 +51,7 @@ typedef struct thread_ctx typedef struct thread { ms_conn_t *conn; /* conn array to store all the conn in the thread */ - int nactive_conn; /* how many connects are active */ + uint32_t nactive_conn; /* how many connects are active */ ms_thread_ctx_t *thread_ctx; /* thread context from the caller */ struct event_base *base; /* libevent handler created by this thread */ |