Alex Rousskov wrote:
> P.S. If you think that x-memory functions (xmalloc, xfree) are
> MT-safe, think again. [but their library equivalents (malloc, free)
> are safe!]. This "bug" cost me a few hours of debugging perfectly
> sane code that used xmalloc and xfree... Just one "word" in all our
> x-memory routines code makes them unsafe!
I don't regard malloc,free as MT-Safe. It may be on most platforms, but
certainly not all for a while yet.
I even don't consider multiple IO functions on the same filedescriptor
as MT-safe on all OS:es if any (there is only one filepointer per
filedescriptor.. where does it point?).
/Henrik
Received on Tue Jul 29 2003 - 13:15:53 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:11:55 MST