libgit2/libgit2 — pull request #2460 by carlosmn (2014-07-03 03:56:50+00:00)
Title: Move yield to the tests and enable for FreeBSD

Move the definition of git_thread_yield() to the test which needs it and
add the correct definition for it for FreeBSD and derivatives.

Original patch adding FreeBSD and derivatives by @jacquesg.

This supersedes #2317.