• nia's avatar
    threadpool_generic: support future NetBSD kqueue versions · 6d549aec
    nia authored
    In NetBSD 9.x and prior, udata is an intptr_t, but in 10.x (current
    development branch) it was changed to be a void * for compatibility
    with other BSDs a year or so ago.
    
    Unfortunately, this does not simplify the code, as NetBSD 8.x and 9.x
    are still supported and will be for a few more years.
    Signed-off-by: default avatarNia Alarie <nia@NetBSD.org>
    6d549aec
threadpool_generic.cc 46.4 KB