CVSROOT:        /cvs
Module name:    src
Changes by:     chel...@cvs.openbsd.org 2020/03/20 11:13:51

Modified files:
        sys/kern       : kern_synch.c 

Log message:
__thrsleep(2): ensure timeout is set when calling tsleep_nsec(9)

tsleep_nsec(9) will not set a timeout if the nsecs parameter is
equal to INFSLP (UINT64_MAX).  We need to limit the duration to
MAXTSLP (UINT64_MAX - 1) to ensure a timeout is set.

Reply via email to