logoalt Hacker News

gpderettatoday at 12:44 PM0 repliesview on HN

TLS is not async signal safe. But having a dedicated thread whose responsibility is to only send cancel tokens via a TLS connection and is woken up by a posix semaphore seems a small, self contained change that doesn't require any major refactoring.