git: libc - Remove incorrect sched_yield() stub

Matthew Dillon dillon at
Sat Apr 21 17:50:38 PDT 2018

commit 3873f15a51100fdb1e96f519cf86f02604d46749
Author: Matthew Dillon <dillon at>
Date:   Sat Apr 21 17:48:43 2018 -0700

    libc - Remove incorrect sched_yield() stub
    * sched_yield() is a system call, and libthread_xu does not
      override it.  Remove the empty stub so the system call is
      properly called.
    * Now sched_yield() is no longer a NOP.

Summary of changes:
 lib/libc/gen/_pthread_stubs.c | 1 -
 1 file changed, 1 deletion(-)

DragonFly BSD source repository

More information about the Commits mailing list