diff options
Diffstat (limited to 'src/non_critical/syscall_storm.c')
| -rw-r--r-- | src/non_critical/syscall_storm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/non_critical/syscall_storm.c b/src/non_critical/syscall_storm.c index bfe7dde..ff7347d 100644 --- a/src/non_critical/syscall_storm.c +++ b/src/non_critical/syscall_storm.c @@ -19,7 +19,7 @@ static void* syscall_storm_linux(void* iterations) { } } -int init(int threads, int iterations) { +int init_syscall_storm(int threads, int iterations) { if (threads > 5) { printf("ERR: Max treads 5, %d required", threads); return NULL; @@ -34,7 +34,7 @@ int init(int threads, int iterations) { }; } -void stop() { +void stop_syscall_storm() { for(int i = 0; i < MAX_THREADS; i++) { pthread_cancel(THRS[i]); } |
