Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
key-value-store
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Samarth Joshi
key-value-store
Commits
6d60454f
Commit
6d60454f
authored
Oct 27, 2020
by
Samarth Joshi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
threads global variable removed (was not being used)
parent
a8ac017f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
KVServer.c
KVServer.c
+2
-2
No files found.
KVServer.c
View file @
6d60454f
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment