From: YAMAMOTO Mitsuharu Date: Fri, 26 Jan 2007 08:35:54 +0000 (+0000) Subject: (BLOCK_INPUT_ALLOC, UNBLOCK_INPUT_ALLOC): Use X-Git-Tag: emacs-pretest-22.0.94~624 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=86302e37c36884d68b7ba0de801abb2b372a84bd;p=emacs.git (BLOCK_INPUT_ALLOC, UNBLOCK_INPUT_ALLOC): Use BLOCK_INPUT/UNBLOCK_INPUT. --- 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)