X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=src%2Fbin%2Fmemaslap%2Fms_thread.h;h=3c49c56fb8b1f78d471f88cc1006052441ea8369;hb=a7e11259b99326ef0d32a1029166aa53546c2708;hp=6ae1bb7bcbdea5dfb681fbd7d8a41ca5cf01b622;hpb=7c2da91b9897c54f66e7fc634a675fcaeef32167;p=awesomized%2Flibmemcached diff --git a/src/bin/memaslap/ms_thread.h b/src/bin/memaslap/ms_thread.h index 6ae1bb7b..3c49c56f 100644 --- a/src/bin/memaslap/ms_thread.h +++ b/src/bin/memaslap/ms_thread.h @@ -16,6 +16,7 @@ #ifndef MS_THREAD_H #define MS_THREAD_H +#include #include #include "ms_conn.h" @@ -33,6 +34,7 @@ typedef struct thread_ctx { uint32_t srv_idx; /* index of the thread */ int tps_perconn; /* expected throughput per connection */ int64_t exec_num_perconn; /* execute number per connection */ + pthread_t pth_id; } ms_thread_ctx_t; /* Used to store the private variables of each thread */