Re: What I suspect

Mike Shaver (shaver@mozilla.org)
Wed, 08 Dec 1999 12:28:09 -0500


Linus Torvalds wrote:
> Normal programs do NOT re-define their own malloc().

poll() and select() are pretty commonly overriden, though: if you want
to do user-space threads, as with Communicator 4.x (and Mozilla, if you
build it with the right options), you want to override lots of
potentially-blocking IO operations to schedule your threads
accordingly. I think this is how the green-threads JVMs work, too.

Any program that wants to use the boehm collector will also override
malloc(), and that seems like a pretty reasonable thing to want to do.

Mike

-- 
2671607.10 2592071.67

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/