From 7432e78c344afe5fdadf1d0ff29369725d154c71 Mon Sep 17 00:00:00 2001 From: PolynomialDivision Date: Sat, 26 Aug 2017 21:23:34 +0200 Subject: [PATCH] Enable other threads --- src/main.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main.c b/src/main.c index 7d7b394..7c2e6d2 100644 --- a/src/main.c +++ b/src/main.c @@ -84,14 +84,14 @@ int main(int argc, char **argv) { pthread_t tid_probe; pthread_create(&tid_probe, NULL, &remove_array_thread, NULL); - //pthread_t tid_client; - //pthread_create(&tid_client, NULL, &remove_client_array_thread, NULL); + pthread_t tid_client; + pthread_create(&tid_client, NULL, &remove_client_array_thread, NULL); - //pthread_t tid_get_client; - //pthread_create(&tid_get_client, NULL, &update_clients_thread, NULL); + pthread_t tid_get_client; + pthread_create(&tid_get_client, NULL, &update_clients_thread, NULL); - //pthread_t tid_kick_clients; - //pthread_create(&tid_kick_clients, NULL, &kick_clients_thread, NULL); + pthread_t tid_kick_clients; + pthread_create(&tid_kick_clients, NULL, &kick_clients_thread, NULL); //pthread_create(&tid, NULL, &remove_thread, NULL);