[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 4 week-old pretest bugs
From: |
YAMAMOTO Mitsuharu |
Subject: |
Re: 4 week-old pretest bugs |
Date: |
Tue, 09 Jan 2007 13:32:27 +0900 |
User-agent: |
Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/22.0.92 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) |
Could you try to see if the following patch changes the situation?
YAMAMOTO Mitsuharu
address@hidden
Index: src/alloc.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/alloc.c,v
retrieving revision 1.405
diff -c -p -r1.405 alloc.c
*** src/alloc.c 13 Nov 2006 08:20:28 -0000 1.405
--- src/alloc.c 9 Jan 2007 04:30:08 -0000
*************** extern __malloc_size_t __malloc_extra_bl
*** 127,147 ****
static pthread_mutex_t alloc_mutex;
! #define BLOCK_INPUT_ALLOC \
! do \
! { \
! if (pthread_self () == main_thread) \
! BLOCK_INPUT; \
! pthread_mutex_lock (&alloc_mutex); \
! } \
while (0)
! #define UNBLOCK_INPUT_ALLOC \
! do \
! { \
! pthread_mutex_unlock (&alloc_mutex); \
! if (pthread_self () == main_thread) \
! UNBLOCK_INPUT; \
! } \
while (0)
#else /* SYSTEM_MALLOC || not HAVE_GTK_AND_PTHREAD */
--- 127,147 ----
static pthread_mutex_t alloc_mutex;
! #define BLOCK_INPUT_ALLOC \
! do \
! { \
! if (pthread_equal (pthread_self (), main_thread)) \
! BLOCK_INPUT; \
! pthread_mutex_lock (&alloc_mutex); \
! } \
while (0)
! #define UNBLOCK_INPUT_ALLOC \
! do \
! { \
! pthread_mutex_unlock (&alloc_mutex); \
! if (pthread_equal (pthread_self (), main_thread)) \
! UNBLOCK_INPUT; \
! } \
while (0)
#else /* SYSTEM_MALLOC || not HAVE_GTK_AND_PTHREAD */
Index: src/syssignal.h
===================================================================
RCS file: /cvsroot/emacs/emacs/src/syssignal.h,v
retrieving revision 1.43
diff -c -p -r1.43 syssignal.h
*** src/syssignal.h 6 Feb 2006 15:23:21 -0000 1.43
--- src/syssignal.h 9 Jan 2007 04:30:08 -0000
*************** char *strsignal ();
*** 210,216 ****
#ifdef HAVE_GTK_AND_PTHREAD
#define SIGNAL_THREAD_CHECK(signo) \
do { \
! if (pthread_self () != main_thread) \
{ \
/* POSIX says any thread can receive the signal. On GNU/Linux \
that is not true, but for other systems (FreeBSD at least) \
--- 210,216 ----
#ifdef HAVE_GTK_AND_PTHREAD
#define SIGNAL_THREAD_CHECK(signo) \
do { \
! if (!pthread_equal (pthread_self (), main_thread))
\
{ \
/* POSIX says any thread can receive the signal. On GNU/Linux \
that is not true, but for other systems (FreeBSD at least) \
- Re: 4 week-old pretest bugs, Chris Moore, 2007/01/01
- Re: 4 week-old pretest bugs, Jan Djärv, 2007/01/08
- Re: 4 week-old pretest bugs, Chris Moore, 2007/01/08
- Re: 4 week-old pretest bugs, Jan Djärv, 2007/01/08
- Re: 4 week-old pretest bugs, Chris Moore, 2007/01/08
- Re: 4 week-old pretest bugs, Chris Moore, 2007/01/08
- Re: 4 week-old pretest bugs,
YAMAMOTO Mitsuharu <=
- Re: 4 week-old pretest bugs, Chris Moore, 2007/01/09
- Re: 4 week-old pretest bugs, Chris Moore, 2007/01/09
- Re: 4 week-old pretest bugs, Richard Stallman, 2007/01/10
- Re: 4 week-old pretest bugs, Chris Moore, 2007/01/10
- Re: 4 week-old pretest bugs, Richard Stallman, 2007/01/11
- Re: 4 week-old pretest bugs, Jan Djärv, 2007/01/11
- Re: 4 week-old pretest bugs, Richard Stallman, 2007/01/11
- Re: 4 week-old pretest bugs, Richard Stallman, 2007/01/12
- Re: 4 week-old pretest bugs, Jan Djärv, 2007/01/11
- Re: 4 week-old pretest bugs, Chris Moore, 2007/01/11