Mail Archives: djgpp/1999/02/12/20:12:02
At 04:56 PM 2/12/99 -0500, you wrote:
>
>> Is the DJGPP 'new' thread-safe already, or should someone developing
>> a threading library for DJGPP wrap 'new' to be thread-safe?
>
>I don't think anyone has put any efforts into making djgpp's libraries
>re-entrant or thread safe, so I suppose the answer is no unless
>someone does the research to prove otherwise or make it so.
What about on other systems? E.g. anything other than DOS. Unix,
principally. Is malloc, new etc. always thread-safe there? Not just
interprocess safe but thread safe too, so if you use pthreads or LWPs
they'll work without needing to be redefined (in pthread.h or lwp.h or user
code).
--
.*. "Clouds are not spheres, mountains are not cones, coastlines are not
-() < circles, and bark is not smooth, nor does lightning travel in a
`*' straight line." -------------------------------------------------
-- B. Mandelbrot |http://surf.to/pgd.net
_____________________ ____|________ Paul Derbyshire pderbysh AT usa DOT net
Programmer & Humanist|ICQ: 10423848|
- Raw text -