Signals is the WORST part of Unix.
Posted Nov 19, 2010 14:57 UTC (Fri) by Yorick
In reply to: Signals is the WORST part of Unix.
Parent article: Ghosts of Unix past, part 3: Unfixable designs
Windows DPC shows us that signals _can_ be done right.
I'm not very familiar with Windows, but isn't DPC a pure kernel-mode concept rather than something available in userspace? Windows does not appear to believe in pre-empting running userspace threads by user code - an approach that clearly solves some problems but mainly by taking options away from the programmer. This is not necessarily a bad thing, of course.
Of course, since Unix signals are used for so many very different purposes, they cannot and should not be replaced by a single new mechanism.
to post comments)