libgit2/libgit2 — pull request #2317 by jacquesg (2014-05-01 08:33:40+00:00)
Title: sched_yield() yields the process on FreeBSD and derivatives

Found this gotcha a few months ago in our codebase...

http://www.unix.com/man-page/freebsd/2/sched_yield/