|
![](/i/fill.gif) |
On 3/15/2012 2:09, Invisible wrote:
> least with manual memory management, one thread doesn't usually block other
> threads from running.
You would be surprised at the number of implementations of malloc() and
free() that assume you're single-threaded and require locks.
Also, in a language that supports threads in the first place (like Erlang),
the heaps are per-thread, so that's OK.
--
Darren New, San Diego CA, USA (PST)
People tell me I am the counter-example.
Post a reply to this message
|
![](/i/fill.gif) |