From 86302e37c36884d68b7ba0de801abb2b372a84bd Mon Sep 17 00:00:00 2001 From: YAMAMOTO Mitsuharu Date: Fri, 26 Jan 2007 08:35:54 +0000 Subject: [PATCH] (BLOCK_INPUT_ALLOC, UNBLOCK_INPUT_ALLOC): Use BLOCK_INPUT/UNBLOCK_INPUT. --- src/alloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/alloc.c b/src/alloc.c index f24d77f0519..5cf22eb62e7 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -131,7 +131,7 @@ static pthread_mutex_t alloc_mutex; do \ { \ if (pthread_equal (pthread_self (), main_thread)) \ - sigblock (sigmask (SIGIO)); \ + BLOCK_INPUT; \ pthread_mutex_lock (&alloc_mutex); \ } \ while (0) @@ -140,7 +140,7 @@ static pthread_mutex_t alloc_mutex; { \ pthread_mutex_unlock (&alloc_mutex); \ if (pthread_equal (pthread_self (), main_thread)) \ - sigunblock (sigmask (SIGIO)); \ + UNBLOCK_INPUT; \ } \ while (0) -- 2.39.2