Diff mt_allocator.h part 1 of item 3
Stefan Olsson
stefan@xapa.se
Thu Jan 15 10:39:00 GMT 2004
Hi,
here's the first part of the patch that addresses item 3 in the rfc -
the one that will reuse thread id's as soon as possible by changing the
behaviour of thread_freelist to do "push_front" when threads die instead
of "push_back". I know that it seems like a lot of patches, but I really
want to make sure that everyone sees what is being altered.
At the same time - after some reading up - we have added keyword
volatile to the global vars affected by this patch and if no-one has an
other opinion, we will do this where it makes sense on other global vars
(such as the freelists etc) as well.
Brgds
/Stefan
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diff2.txt
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20040115/cd20fb38/attachment.txt>
More information about the Libstdc++
mailing list