Move yield to the tests and enable for FreeBSD · nodegit/libgit2@905fb59 · GitHub
Skip to content

Commit 905fb59

Browse files
committed
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.
1 parent 28f087c commit 905fb59

2 files changed

Lines changed: 14 additions & 7 deletions

File tree

‎src/thread-utils.h‎

Lines changed: 0 additions & 7 deletions

‎tests/threads/diff.c‎

Lines changed: 14 additions & 0 deletions

0 commit comments

Comments
 (0)