* configure.in: Look for sched.h and sched_yield.
authorKen Raeburn <raeburn@mit.edu>
Sat, 7 Aug 2004 15:52:52 +0000 (15:52 +0000)
committerKen Raeburn <raeburn@mit.edu>
Sat, 7 Aug 2004 15:52:52 +0000 (15:52 +0000)
commit952ae42cdb5120d7b9410edc4f46f2e624176df4
tree81b0d33895b1998c9c2aebede70f03f586183864
parent6612f28ddb3cef35556df382636d131d1e4edb87
* configure.in: Look for sched.h and sched_yield.
* k5-thread.h: Only include sched.h if it's available.
(MAYBE_SCHED_YIELD): Only use sched_yield if sched.h and sched_yield are
available; if weak references are supported and sched_yield isn't available by
default, check for it at run time.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16645 dc483132-0cff-0310-8789-dd5450dbe970
src/include/ChangeLog
src/include/configure.in
src/include/k5-thread.h