• Show log

    Commit

  • Hash : 3da8ef85
    Author : Stefan Sperling
    Date : 2021-09-21T11:05:06

    tog: use sched_yield(2) instead of pthread_yield(3) for portability
    
    pthread_yield(3) is an optional POSIX 2001 extension while sched_yield(2)
    is part of POSIX 2008. On OpenBSD they are actually equivalent, albeit not
    documented as such. Using sched_yield(2) helps the -portable version.
    
    Patch by Quentin Rameau