Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (14 sloc) 535 Bytes
#include "common.h"
struct server_request {
unsigned short port; // The port the server is listening on
unsigned int n; // The number of connections to accept
unsigned int cores; // Which cores this server is running on
const struct settings *settings;
// Stats
struct stats stats;
};
void *server_thread(void *data);
int prepare_servers(const struct settings * settings, void * data);
int create_servers(const struct settings * settings, void * data);
void stop_all_servers(int threaded_model);
void cleanup_servers();