projects
/
cubemap
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Separate out the acceptor stuff into its own file.
[cubemap]
/
acceptor.h
1
#ifndef _ACCEPTOR_H
2
#define _ACCEPTOR_H
3
4
int create_server_socket(int port);
5
6
// A thread that accepts new connections on a given socket,
7
// and hands them off to the server pool.
8
void *acceptor_thread_run(void *arg);
9
10
#endif // !defined(_ACCEPTOR_H)