[patch] fix thread test cases for solaris.

Chris Fairles chris.fairles@gmail.com
Mon Jan 12 21:39:00 GMT 2009


On Mon, Jan 12, 2009 at 12:38 PM, Paolo Carlini
<paolo.carlini@oracle.com> wrote:
> .. another comment: I don't think the AC_TRY_LINK for sched_yield is
> really needed, because after all it's an implementation detail of
> __gthread_yield. Only the search in librt seems necessary.
>

So define _GLIBCXX_USE_SCHED_YIELD based on $ac_has_sched_h basically?

(note: attached patch is w/o Changlog, will submit one more revision w
changelog if current patch is acceptable)

Chris
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: libstdcxx_librt.patch.txt
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20090112/ac6aed4e/attachment.txt>


More information about the Libstdc++ mailing list