[patch] fix thread test cases for solaris.

Paolo Carlini paolo.carlini@oracle.com
Tue Jan 13 00:44:00 GMT 2009


Chris Fairles wrote:
>> whoops. this doesnt work. i removed the _GLIBCXX_USE_SCHED_YIELD ...
>> thats what the test is using. do we not need that then? just this link
>> test for sched_yield?
>>     
The logic is that you need to AC_DEFINE _GLIBCXX_USE_SCHED_YIELD exactly
whem you decide to append to GLIBCXX_LIBS, right after it, in that case.

Remember configure.xml, add the ChangeLog, carefully test both with and
without threads, with and without =rt, and we are done ;)

Paolo.



More information about the Gcc-patches mailing list