config root man

Current Path : /compat/linux/proc/self/root/usr/local/lib/python2.5/test/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //compat/linux/proc/self/root/usr/local/lib/python2.5/test/test_threadsignals.pyo

³ò
h”Rc
@sdZddkZddkZddkZddkZddkZddklZlZei	d djpei	djoedei	‚nei
ƒZeiƒZ
d	„Zd
„Zd„Zdeifd
„ƒYZd„ZedjoeƒndS(s6PyUnit testing that threads honor our signal semanticsiÿÿÿÿN(trun_unittesttTestSkippeditwintos2triscossCan't test signal on %scCs[|\}}}titi|ƒ}titi|ƒ}titi|ƒ}|||fS(N(tsignaltSIGUSR1tSIGUSR2tSIGALRM(t.0tfor_usr1tfor_usr2tfor_alrmtusr1tusr2talrm((s3/usr/local/lib/python2.5/test/test_threadsignals.pytregisterSignalss
cCs,t|dcd7<tiƒt|d<dS(Nttrippedit
tripped_by(tsignal_blackboardtthreadt	get_ident(tsigtframe((s3/usr/local/lib/python2.5/test/test_threadsignals.pythandle_signalsscCs4tittiƒtittiƒtiƒdS(N(tostkilltprocess_pidRRRt
signalled_alltrelease(((s3/usr/local/lib/python2.5/test/test_threadsignals.pytsend_signalsst
ThreadSignalscBs eZdZd„Zd„ZRS(sÞTest signal handling semantics of threads.
       We spawn a thread, have the thread send two signals, and
       wait for it to finish. Check that we got both signals
       and that they were run by the main thread.
    cCsütiƒ|iƒtiƒttiddjpttiddjo(tidƒtiƒtidƒn|i	ttiddƒ|i	ttidt
iƒƒ|i	ttiddƒ|i	ttidt
iƒƒtiƒdS(NRiiR(
RtacquiretspawnSignallingThreadRRRRtalarmtpausetassertEqualRRR(tself((s3/usr/local/lib/python2.5/test/test_threadsignals.pyttest_signals*s






cCstitdƒdS(N((Rtstart_new_threadR(R%((s3/usr/local/lib/python2.5/test/test_threadsignals.pyR!Bs(t__name__t
__module__t__doc__R&R!(((s3/usr/local/lib/python2.5/test/test_threadsignals.pyR$s	cCs•hhdd<dd<ti<hdd<dd<ti<hdd<dd<ti<attttfƒ}zttƒWdt|ƒXdS(NiRR(	RRRRRRRRR(toldsigs((s3/usr/local/lib/python2.5/test/test_threadsignals.pyt	test_mainFs" t__main__(Rsos2(R*tunittestRRRtsysttest.test_supportRRtplatformtgetpidRt
allocate_lockRRRRtTestCaseRR,R((((s3/usr/local/lib/python2.5/test/test_threadsignals.pys<module>s"$				"	



Man Man