From 3bc9f9e17a36ff034a01f72bea42472067ed983e Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Fri, 24 Apr 2020 14:23:58 +0200 Subject: Test --- src/ft_exit.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'src') diff --git a/src/ft_exit.c b/src/ft_exit.c index ea5cd2a..e0531c3 100644 --- a/src/ft_exit.c +++ b/src/ft_exit.c @@ -46,24 +46,24 @@ static void if (clist->isoldmus && clist->wlist.inited) { - if (FT_OS == 2) - { - pthread_cancel(clist->mtid); - pthread_join(clist->mtid, NULL); - } - else if (system(FT_SND_TERM_CMD)) + /* if (FT_OS == 2) */ + /* { */ + /* pthread_cancel(clist->mtid); */ + /* pthread_join(clist->mtid, NULL); */ + /* } */ + if (system(FT_SND_TERM_CMD)) return ; } i = -1; while (++i < FT_TOTAL_SFX) { - pthread_mutex_unlock(&clist->sfx[i].mutex); - if (FT_OS == 2) - { - pthread_cancel(clist->sfx[i].tid); - pthread_join(clist->sfx[i].tid, NULL); - } - else if (system(FT_SND_TERM_CMD)) + /* pthread_mutex_unlock(&clist->sfx[i].mutex); */ + /* if (FT_OS == 2) */ + /* { */ + /* pthread_cancel(clist->sfx[i].tid); */ + /* pthread_join(clist->sfx[i].tid, NULL); */ + /* } */ + if (system(FT_SND_TERM_CMD)) return ; } } -- cgit v1.2.3