This is the mail archive of the
libc-alpha@sourceware.cygnus.com
mailing list for the glibc project.
Re: Is -lmcheck thread-safe in glibc 2.0.7 on Linux 2.2x?
- To: Ulrich Drepper <drepper@cygnus.com>
- Subject: Re: Is -lmcheck thread-safe in glibc 2.0.7 on Linux 2.2x?
- From: george@moberg.com
- Date: Thu, 08 Jul 1999 17:07:46 -0400 (EDT)
- Cc: libc-alpha@sourceware.cygnus.com
- Organization: Moberg Research, Inc.
- Reply-To: george@moberg.com
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>