Mercurial > emacs
changeset 75406:b176aeeb7253
(BLOCK_INPUT_ALLOC, UNBLOCK_INPUT_ALLOC): Use
BLOCK_INPUT/UNBLOCK_INPUT.
author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
---|---|
date | Fri, 26 Jan 2007 08:35:54 +0000 |
parents | 32aaed4ed8da |
children | 205d5c1af245 |
files | src/alloc.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/alloc.c Thu Jan 25 05:26:01 2007 +0000 +++ b/src/alloc.c Fri Jan 26 08:35:54 2007 +0000 @@ -131,7 +131,7 @@ do \ { \ if (pthread_equal (pthread_self (), main_thread)) \ - sigblock (sigmask (SIGIO)); \ + BLOCK_INPUT; \ pthread_mutex_lock (&alloc_mutex); \ } \ while (0) @@ -140,7 +140,7 @@ { \ pthread_mutex_unlock (&alloc_mutex); \ if (pthread_equal (pthread_self (), main_thread)) \ - sigunblock (sigmask (SIGIO)); \ + UNBLOCK_INPUT; \ } \ while (0)