This is the mail archive of the libc-alpha@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Is -lmcheck thread-safe in glibc 2.0.7 on Linux 2.2x?



On 08-Jul-99 Ulrich Drepper wrote:
> george@moberg.com writes:
> 
>> Is using mprobe() safe in a multithreaded environment on Linux with
>> 2.0.7 or do I need a newer version?
> 
> It will never be thread safe.

I was suspecting that, since it's using the malloc hooks, which themselves
aren't protected by the mutex for the arena, etc.  Is there another package
compatible with glibc which can be used for memory debugging in a multithreaded
program?
---
George T. Talbot
<george@moberg.com>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]