From 1b3ed08e7ec3ce3e15dd5811f47466fbe579450e Mon Sep 17 00:00:00 2001 From: Namilskyy Date: Wed, 29 Oct 2025 21:59:44 +0300 Subject: Implemented critical funcions and some structure/debug issues closed. --- src/non_critical/syscall_storm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/non_critical/syscall_storm.c') 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]); } -- cgit v1.2.3