diff options
author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 2007-01-26 08:36:34 +0000 |
---|---|---|
committer | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 2007-01-26 08:36:34 +0000 |
commit | 3fb8b536ddb9f41273b336a5a78a2a9063a8f8b7 (patch) | |
tree | b8caf99aa99a4acea1509e320985a1e9ab015fdf /src/syssignal.h | |
parent | cf2db1459f7b60659b2e0d52f292072c018660ec (diff) | |
download | emacs-3fb8b536ddb9f41273b336a5a78a2a9063a8f8b7.tar.gz |
(SIGNAL_THREAD_CHECK): Use pthread_equal.
Diffstat (limited to 'src/syssignal.h')
-rw-r--r-- | src/syssignal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syssignal.h b/src/syssignal.h index a4e3fcb3e1b..36292670bc6 100644 --- a/src/syssignal.h +++ b/src/syssignal.h @@ -210,7 +210,7 @@ char *strsignal (); #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) \ |