git: DragonFly_RELEASE_6_4 pps_fetch: introduce a helper to handle timeouts

Matthew Dillon dillon at crater.dragonflybsd.org
Wed May 15 11:44:17 PDT 2024


commit b03753a27526a741f83bbdaacfa0536d3691638a
Author: Dan Cross <cross at gajendra.net>
Date:   Sat May 11 01:46:33 2024 +0000

    pps_fetch: introduce a helper to handle timeouts
    
    Introduce a helper function that handles providing a timeout so that
    we can wait for an event, and call it from the PPS_IOC_FETCH ioctl case.
    Modeled after the same code in FreeBSD.
    
    Signed-off-by: Dan Cross <cross at gajendra.net>

Summary of changes:
 sys/kern/kern_clock.c | 43 +++++++++++++++++++++++++++++++++++++++----
 1 file changed, 39 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b03753a27526a741f83bbdaacfa0536d3691638a


-- 
DragonFly BSD source repository


More information about the Commits mailing list