LWN.net Logo

Various notes, all about Python

Various notes, all about Python

Posted Sep 7, 2006 8:38 UTC (Thu) by pphaneuf (subscriber, #23480)
Parent article: Various notes, all about Python

Polling every 100 millisecond for a signal is truly appalling, as this problem has been solved a long time ago (write a byte to a pipe in the signal handler, putting the other end in the select() interest set). Now, please, stop waking up my computer.


(Log in to post comments)

Various notes, all about Python

Posted Sep 7, 2006 15:07 UTC (Thu) by nix (subscriber, #2304) [Link]

Nick Mclaren has a large number of posts in the thread this article
references saying this can't be done: but since those threads basically
boil down to 'all existing OSes, including Linux, have bugs in this area,
and tracking them down is so hard that only I in all the world can do it,
we have fallen from an ancient golden age when this stuff worked', I'm not
inclined to pay much attention. (Argument from authority doesn't work,
guys, especially not if you refer to similar bugs in things like TCP/IP
which have 'gone unfixed for decades' and then *don't provide enough
information to allow anyone else to find out what those bugs are*...)

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds