• KIU Shueng Chuan's avatar
    create signaler::recv_failable() · 596d6e5b
    KIU Shueng Chuan authored
    In real world usage, there have been reported signaler failures where the
    eventfd read() or socket recv() system call in signaler::recv() fails,
    despite having made a prior successful signaler::wait() call.
    
    this patch creates a signaler::recv_failable() method that allows
    unreadable eventfd / socket to return an error without asserting.
    596d6e5b
signaler.hpp 2.95 KB