summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2015-04-23 15:15:41 +0000
committerjstebbins <[email protected]>2015-04-23 15:15:41 +0000
commit57b674a1b38c655362bf694f60bd2b9927d58ddb (patch)
tree3935c0a3c33e7f234069215026affbd95833ffd5 /libhb
parentecb77662da768b8011be27c68725eea10c62c570 (diff)
ports: use standardized sched_yield instead of pthread_yield
Fixes build on osx git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7122 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb')
-rw-r--r--libhb/ports.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/ports.c b/libhb/ports.c
index 2a9ffd971..6d43dc34f 100644
--- a/libhb/ports.c
+++ b/libhb/ports.c
@@ -1078,7 +1078,7 @@ void hb_clock_gettime( struct timespec *tp )
void hb_yield(void)
{
- pthread_yield();
+ sched_yield();
}
void hb_cond_timedwait( hb_cond_t * c, hb_lock_t * lock, int msec )