]> git.sesse.net Git - cubemap/blob - acceptor.h
Factor statistics writing into its own class and 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)