[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/syssignal.h,v
From: |
YAMAMOTO Mitsuharu |
Subject: |
[Emacs-diffs] Changes to emacs/src/syssignal.h,v |
Date: |
Fri, 26 Jan 2007 08:36:25 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: YAMAMOTO Mitsuharu <mituharu> 07/01/26 08:36:24
Index: syssignal.h
===================================================================
RCS file: /cvsroot/emacs/emacs/src/syssignal.h,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -b -r1.44 -r1.45
--- syssignal.h 14 Jan 2007 03:24:37 -0000 1.44
+++ syssignal.h 26 Jan 2007 08:36:24 -0000 1.45
@@ -210,7 +210,7 @@
#ifdef HAVE_GTK_AND_PTHREAD
#define SIGNAL_THREAD_CHECK(signo) \
do { \
- if (pthread_self () != main_thread) \
+ 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) \