.. 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. Paolo.