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 sbt
Recipients brian.curtin, jnoller, pitrou, sbt, tim.golden
Date 2011年06月26日.20:27:47
SpamBayes Score 8.635363e-06
Marked as misclassified No
Message-id <1309120068.89.0.241589833761.issue12328@psf.upfronthosting.co.za>
In-reply-to
Content
sigint_event.patch is a patch to make
_multiprocessing.win32.WaitForMultipleObjects interruptible. It
applies directly on to default.
The patch also adds functions _PyOS_SigintEvent and _PyOS_IsMainThread
which are implemented in signalmodule.c and declared in intrcheck.c.
_PyOS_SigintEvent returns a manual reset event (cast to void*) which
is set whenever SIGINT is received. It is Windows only.
_PyOS_IsMainThread returns 0 or 1 according to whether the current
thread is the main thread.
The time and _multiprocessing modules have been updated to use these
functions.
Note that WaitForMultipleObjects has a bWaitAll parameter. When this
is true, all handles in the array are waited for, and
WaitForMultipleObjects is not interruptible.
History
Date User Action Args
2011年06月26日 20:27:49sbtsetrecipients: + sbt, pitrou, tim.golden, jnoller, brian.curtin
2011年06月26日 20:27:48sbtsetmessageid: <1309120068.89.0.241589833761.issue12328@psf.upfronthosting.co.za>
2011年06月26日 20:27:48sbtlinkissue12328 messages
2011年06月26日 20:27:48sbtcreate

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