[Patch] Streamline __mt_alloc::_S_initialize

Paolo Carlini pcarlini@suse.de
Thu Apr 1 17:05:00 GMT 2004


Hi,

In _S_initialize we had 4 #ifdef __GTHREADS if(__gthread_active_p()),
in particular 2 inside loops. With the below we have only one, and the
structure of the second half of the function becomes consistent with
that of the other members.

Tested x86/x86_64-linux, check/check-performance.

Will commit later today.

Paolo.

//////////////



More information about the Libstdc++ mailing list