diff options
| author | Jonathan Mini <mini@FreeBSD.org> | 2002-09-16 19:52:52 +0000 |
|---|---|---|
| committer | Jonathan Mini <mini@FreeBSD.org> | 2002-09-16 19:52:52 +0000 |
| commit | 255ab70cdf6eb0005e7494657f35d318f666de50 (patch) | |
| tree | 19954471d255ce812e704c80bd079f406bc31378 /lib/libpthread/thread/thr_yield.c | |
| parent | 51f42932d165603bcfdafe9d900a392fd821a9eb (diff) | |
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_yield.c')
| -rw-r--r-- | lib/libpthread/thread/thr_yield.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpthread/thread/thr_yield.c b/lib/libpthread/thread/thr_yield.c index ed66da61a804..e652a9cb3a3d 100644 --- a/lib/libpthread/thread/thr_yield.c +++ b/lib/libpthread/thread/thr_yield.c @@ -46,7 +46,7 @@ _sched_yield(void) curthread->slice_usec = -1; /* Schedule the next thread: */ - _thread_kern_sched(NULL); + _thread_kern_sched(); /* Always return no error. */ return(0); @@ -62,5 +62,5 @@ _pthread_yield(void) curthread->slice_usec = -1; /* Schedule the next thread: */ - _thread_kern_sched(NULL); + _thread_kern_sched(); } |
