On 3 Nov 2004, at 12:07, Enrico Sersale wrote:
After this change in -base
2004-09-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSThread.m: Refrain from creating thread dictionary in an
inactive thread ... we don't want to create new objects in a thread
which is in the process of exiting. Also, improve documentation.
<snip>
I'm encountering problems with threads that doesn't exit anymore.
<snip>
In -exitThread method there is only a line:
[NSThread exit];
but the thread doesn't exit and the cpu usage of the process grows to 99%.
The only thing I can think of is some problem with the code handling
notifications of thread exit.
I've changed the NSThread code to try harder to avoid any memory leaks
on thread exit rather than simply avoiding creating a new dictionary ...
please could you try it out.