A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-June/036317.html below:

[Python-Dev] Where to put the interrupt module?

[Python-Dev] Where to put the interrupt module? [Python-Dev] Where to put the interrupt module?Kevin Jacobs jacobs@penguin.theopalgroup.com
Fri, 13 Jun 2003 08:52:44 -0400 (EDT)
On Fri, 13 Jun 2003, Guido van Rossum wrote:
> [Kevin J]
> > That chunk of code is very problematic.  Some platforms/threading libraries
> > will deliver a SIGINT to all threads, which can abort many system calls that
> > are not trivially restarted/restartable.
> 
> While I was worried about this when writing the original code (that's
> the only way to explain some of the things it does), I'm not sure if
> we really have to worry about such platforms any more; I certainly
> have never heard a report of such behavior.  On Unix and Unixish
> systems, pthreads rule.  Windows doesn't have real signals.  Mac OS is
> now also Unix.  PalmOS doesn't have threads.  What other platforms are
> relevant?

The thread_pthreads already masks signals to newly created threads.  I have
patches to add signal masking to solaris and pth threads.  I'm not sure how
much either are used anymore, though.

-Kevin

-- 
--
Kevin Jacobs
The OPAL Group - Enterprise Systems Architect
Voice: (216) 986-0710 x 19         E-mail: jacobs@theopalgroup.com
Fax:   (216) 986-0714              WWW:    http://www.theopalgroup.com




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4