tests/mt_waitset: increase the number of thread pointers
authorReto Achermann <reto.achermann@inf.ethz.ch>
Sun, 30 Jun 2019 18:36:06 +0000 (20:36 +0200)
committerReto Achermann <reto.achermann@inf.ethz.ch>
Sun, 30 Jun 2019 18:36:14 +0000 (20:36 +0200)
having 96 cores x 10 threads should be possible to hold all thread pointers for

Signed-off-by: Reto Achermann <reto.achermann@inf.ethz.ch>

usr/tests/mt_waitset/main.c

index 1c7821d..0392d5d 100644 (file)
 
 const static char *service_name = "mt_waitset_service";
 coreid_t my_core_id, num_cores;
-struct thread *threads[256];
+struct thread *threads[1024];
 
 static int server_threads = 10;
 static int client_threads = 1;
 static int iteration_count = 1000;
 
 static int client_counter = 0;
-static int64_t server_calls[256];
-static int64_t client_calls[256][256];
+static int64_t server_calls[1024];
+static int64_t client_calls[1024][1024];
 
 static void show_stats(void)
 {