Commit 6d60454f authored by Samarth Joshi's avatar Samarth Joshi

threads global variable removed (was not being used)

parent a8ac017f
...@@ -9,9 +9,9 @@ ...@@ -9,9 +9,9 @@
#include <string.h> #include <string.h>
#include "KVMessageFormat.h" #include "KVMessageFormat.h"
#define MAX_EVENTS 10 #define MAX_EVENTS 10
static int thread=0;
void *worker(void *args) { void *worker(void *args) {
thread++;
struct epoll_event ev,events[MAX_EVENTS]; struct epoll_event ev,events[MAX_EVENTS];
struct epoll_event socketEvent; struct epoll_event socketEvent;
socketEvent.events=EPOLLIN; socketEvent.events=EPOLLIN;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment