News for hackers. Stuff that matters.
Re:Parallel – A command-line CPU load balancer written in Rust by the_mitsuhiko on Friday August 26, 2016 @03:15PM (#12368601)
> Yeah, good point. The weird part is that it almost introduces a new thread, in that it introduces a new flow of control (and, if you ask for it, a new stack), but it doesn't count as a new thread in all the usual ways, like thread-local variables or PIDs.

Worse: most signal handlers that do anything other than setting globals destroy errno in one way or another and when you go back the code that was interrupted has a good chance of malfunctioning.

There are no comments on this comment yet.