This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] fix thread test cases for solaris.
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.