What is Nostr?
John Siracusa /
npub1lq7…hwvl
2024-11-26 18:15:00

John Siracusa on Nostr: I went so far as to write a “native” package for Node.js that lets me call ...

I went so far as to write a “native” package for Node.js that lets me call sigprocmask() to block SIGUSR2 only to find that apparently it…does nothing? The call succeeds (i.e., returns 0) and all the arguments look correct, but the supposedly blocked signal still gets through.

Has anyone out there successfully blocked a signal in Node.js? I mean actually block, not just use process.on(…) to add a no-op handler function.
Author Public Key
npub1lq7l458c6zqqgta485wgsw4eddwprfsmzaxu59ws2znyccdh9pas7vhwvl