bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: linuxthreads/malloc problem


From: Wolfram Gloger
Subject: Re: linuxthreads/malloc problem
Date: Thu, 2 Nov 2000 17:33:10 +0100 ("MET)

Hi,

> I was part of the group that worked on Python2.0.  There was some code
> in the Python core which used pthread mutexes.  The test suite which
> exercised this code would exhibit misbehavior, but only on Linux.

I remember a series of rather similar postings with respect to Perl
recently.  It was suggested that perl was dlopen()ing libpthread at
runtime when threads were in use.  IMHO that cannot possibly work, at
least on Linux.  If you want to use threads in an application, the
whole application (in this case: the perl/python interpreter
executable) _must_ be linked against libpthread.

> There were also anecodal reports that the behavior would differ if you
> had multiple instances of the program running.

If it is not the above `problem', I'd appreciate a pointer to the
Python sources (without the workarounds).

Regards,
Wolfram.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]