Re: Can we reproduce this?

Neal Norwitz <[email protected]> Sun, 5 Jan 2003 14:48:28 -0500
Newsgroups gmane.comp.python.snake-farm.user
Message-ID <[email protected]>
On Sun, Jan 05, 2003 at 01:00:10PM -0500, Neal Norwitz wrote:

[lots of stuff about test_signal hanging on Solaris]

This problem was introduced: 

cvs log Python/thread_pthread.h

revision 2.39
date: 2002/03/17 09:53:51;  author: loewis;  state: Exp;  lines: +119 -0
Patch #525532: Add support for POSIX semaphores.

If I disallow the use of semaphores by adding:

        #undef USE_SEMAPHORES

at line 113 (after it is set if _POSIX_SEMAPHORES is set), it seems
to fix the problem.  In those patches mentioned earlier, I remember
mention of semaphore functions.  So maybe the reason why it works
on some boxes is that it's depends on whether certain patches are
installed.

Of course, it's possible the semaphore code is wrong.  I'll post
a new bug and we can discuss there.

Neal