memaslap: fix leaks
[m6w6/libmemcached] / src / bin / memaslap / ms_thread.h
index 6ae1bb7bcbdea5dfb681fbd7d8a41ca5cf01b622..eff2e5577ef339f02b04fc2f1f4f6c74c0caca6d 100644 (file)
@@ -33,6 +33,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 */