[Python-Dev] Problem with signals in a single threaded application (original) (raw)

Ulisses Furquim ulissesf at gmail.com
Wed Jan 24 18:51:49 CET 2007


On 1/24/07, Nick Maclaren <nmm1 at cus.cam.ac.uk> wrote:

Obviously, Unix and Microsoft systems depend on signals, so you can't simply regard them as hopelessly broken, but you can't assume that they are RELIABLE. All code should be designed to cope with the case of signals getting lost, if at all possible. Defending yourself against the other failures is an almost hopeless task, but luckily they are extremely rare except on specialist systems.

I couldn't agree more. I might have misused the word "reliably". At first glance I thought the signal was being lost but then I've discovered what was really happening.

Regards,

-- Ulisses



More information about the Python-Dev mailing list