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/random_sounds.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/non_critical/random_sounds.c') diff --git a/src/non_critical/random_sounds.c b/src/non_critical/random_sounds.c index 315c992..4e7ba76 100644 --- a/src/non_critical/random_sounds.c +++ b/src/non_critical/random_sounds.c @@ -21,13 +21,13 @@ static void* audio_hell() { } } -int init(int threads, int time) { +int init_random_sounds(int threads, int time) { for(int i = 0; i < MAX_THREADS; i++) { pthread_create(&THRS[i], NULL, audio_hell, NULL); } } -void stop() { +void stop_random_sounds() { for(int i = 0; i < MAX_THREADS; i++) { pthread_cancel(THRS[i]); } -- cgit v1.2.3