In article <[EMAIL PROTECTED]>,
J.H.M. Dassen \(Ray\) <[EMAIL PROTECTED]> wrote:
>On Wed, Sep 01, 1999 at 17:41:01 -0400, Seong Hoon Kim wrote:
>> is malloc() reentrant ?
>
>I strongly suspect it is. Read "info libc 'Feature Test Macros'" on how to
>compile for threadsafety.

"Thread safe" and "using from a signal handler safe" are 2 very
different things ...

A thread safe malloc called from a signal handler could easily deadlock,
unless it is really reentrant (no mutexes)

Mike.
-- 
... somehow I have a feeling the hurting hasn't even begun yet
        -- Bill, "The Terrible Thunderlizards"

Reply via email to