homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author smarnach
Recipients docs@python, smarnach
Date 2012年03月30日.23:12:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1333149178.59.0.333821086904.issue14456@psf.upfronthosting.co.za>
In-reply-to
Content
The documentation of the 'signal' module states on the one hand
 [T]he main thread will be the only one to receive signals (this is
 enforced by the Python signal module, even if the underlying thread
 implementation supports sending signals to individual threads).
On the other hand, it provides the function 'pthread_kill()':
 Send the signal signum to the thread thread_id, another thread in
 the same process as the caller. The signal is asynchronously
 directed to thread.
These two passages are in contradiction to each other. The documentation also states that only the main thread can set signal handlers -- if this is true, it is utterly unclear how sending signals to other threads is useful.
Probably the documentation wasn't fully updated when the above function was introduced.
History
Date User Action Args
2012年03月30日 23:12:58smarnachsetrecipients: + smarnach, docs@python
2012年03月30日 23:12:58smarnachsetmessageid: <1333149178.59.0.333821086904.issue14456@psf.upfronthosting.co.za>
2012年03月30日 23:12:58smarnachlinkissue14456 messages
2012年03月30日 23:12:57smarnachcreate

AltStyle によって変換されたページ (->オリジナル) /