logoalt Hacker News

dapperdrake • yesterday at 3:57 PM • 2 replies • view on HN

Re-entrancy

Thread-safety

What is old os new again.

Unix also learned this the hard way with signals and job control. Signals are still footguns.


Replies

Permik • yesterday at 10:55 PM

I dunno, after I learned that every syscall can just spit back an error because it was interrupted and this is how threading works on single core systems was mind blowing to me. Signals don't actually suck themselves, it's just that our tools are total shaite at handling them.

torginus • yesterday at 4:42 PM

Yeah, what people usually forget to mention about 'we had this great concept in the 70s, why is no one using it' is that people HAVE used it, and found out it has problems and subsequently moved on because of said problems.