--- mac.a.log 2020-11-17 21:50:18.000000000 +0900 +++ mac.b.log 2020-11-17 21:56:00.000000000 +0900 @@ -81,9 +81,9 @@ @@ -103,9 +103,9 @@ @@ -135,9 +135,9 @@ @@ -157,9 +157,9 @@ @@ -189,9 +189,9 @@ @@ -211,9 +211,9 @@ @@ -245,11 +245,11 @@ test( **dic ) File "./thr_stat_test.py", line 57, in test thr_gc.stop() - File "/Users/kondoh/kon_page/kon_ut/thr_stat/thr.py", line 177, in stop + File "/Users/kondoh/kon_page/kon_ut/thr_stat/thr.py", line 251, in stop th.stop() - File "/Users/kondoh/kon_page/kon_ut/thr_stat/thr.py", line 117, in stop - join() - File "/Users/kondoh/kon_page/kon_ut/thr_stat/thr.py", line 112, in join + File "/Users/kondoh/kon_page/kon_ut/thr_stat/thr.py", line 190, in stop + join( tmout ) + File "/Users/kondoh/kon_page/kon_ut/thr_stat/thr.py", line 184, in join e.th.join() File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 1056, in join self._wait_for_tstate_lock() @@ -271,8 +271,16 @@ @@ -295,25 +303,8 @@ >stop gc.stop + - run() - File "./thr_stat_test.py", line 99, in run - test( **dic ) - File "./thr_stat_test.py", line 57, in test - thr_gc.stop() - File "/Users/kondoh/kon_page/kon_ut/thr_stat/thr.py", line 177, in stop - th.stop() - File "/Users/kondoh/kon_page/kon_ut/thr_stat/thr.py", line 117, in stop - join() - File "/Users/kondoh/kon_page/kon_ut/thr_stat/thr.py", line 112, in join - e.th.join() - File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 1056, in join - self._wait_for_tstate_lock() - File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 1072, in _wait_for_tstate_lock - elif lock.acquire(block, timeout): -KeyboardInterrupt wait ok s_new=thr.loop_new stop=True s_wait=f_wait_ev sec=1 gc=True n=1 @@ -321,25 +312,8 @@ >stop gc.stop + - run() - File "./thr_stat_test.py", line 99, in run - test( **dic ) - File "./thr_stat_test.py", line 57, in test - thr_gc.stop() - File "/Users/kondoh/kon_page/kon_ut/thr_stat/thr.py", line 177, in stop - th.stop() - File "/Users/kondoh/kon_page/kon_ut/thr_stat/thr.py", line 117, in stop - join() - File "/Users/kondoh/kon_page/kon_ut/thr_stat/thr.py", line 112, in join - e.th.join() - File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 1056, in join - self._wait_for_tstate_lock() - File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 1072, in _wait_for_tstate_lock - elif lock.acquire(block, timeout): -KeyboardInterrupt wait ok s_new=thr.th_new stop=False s_wait=f_wait_ev sec=1 gc=True n=1 @@ -361,15 +335,6 @@ >stop gc.stop -stop -gc.stop kill SIGINT Traceback (most recent call last): File "./thr_stat_test.py", line 121, in @@ -378,11 +343,28 @@ +s_new=thr.loop_new stop=True s_wait=f_wait_select sec=1 gc=True n=1 +select 1 +>stop +gc.stop +gc.stop @@ -408,9 +390,9 @@ @@ -430,9 +412,9 @@ @@ -466,9 +448,9 @@ @@ -488,9 +470,9 @@ @@ -524,9 +506,9 @@ @@ -546,9 +528,9 @@ @@ -585,8 +567,8 @@ sleep 1 sleep 1 >stop -stop kill SIGINT Traceback (most recent call last): @@ -596,9 +578,9 @@ @@ -633,8 +615,8 @@ ev.wait 1 ev.wait 1 >stop -ev.wait 1 stop kill SIGINT Traceback (most recent call last): @@ -644,9 +626,9 @@ @@ -681,8 +663,8 @@ select 1 select 1 >stop -select 1 stop kill SIGINT Traceback (most recent call last): @@ -692,9 +674,9 @@ @@ -727,9 +709,9 @@ @@ -750,9 +732,9 @@ @@ -785,9 +767,9 @@ @@ -808,9 +790,9 @@ @@ -843,9 +825,9 @@ @@ -866,9 +848,9 @@ @@ -905,8 +887,16 @@ @@ -915,19 +905,24 @@ sleep 1 >stop stop -gc.stop kill SIGINT Traceback (most recent call last): File "./thr_stat_test.py", line 121, in run() File "./thr_stat_test.py", line 99, in run test( **dic ) - File "./thr_stat_test.py", line 57, in test - thr_gc.stop() - File "/Users/kondoh/kon_page/kon_ut/thr_stat/thr.py", line 176, in stop - time.sleep( 1 ) + File "./thr_stat_test.py", line 52, in test + th.stop() + File "/Users/kondoh/kon_page/kon_ut/thr_stat/thr.py", line 190, in stop + join( tmout ) + File "/Users/kondoh/kon_page/kon_ut/thr_stat/thr.py", line 184, in join + e.th.join() + File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 1056, in join + self._wait_for_tstate_lock() + File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 1072, in _wait_for_tstate_lock + elif lock.acquire(block, timeout): KeyboardInterrupt wait ok @@ -963,8 +958,16 @@ @@ -972,9 +975,9 @@ ev.wait 1 ev.wait 1 >stop -ev.wait 1 stop +ev.wait 1 kill SIGINT Traceback (most recent call last): File "./thr_stat_test.py", line 121, in @@ -983,9 +986,9 @@ @@ -1026,16 +1029,8 @@ test( **dic ) File "./thr_stat_test.py", line 57, in test thr_gc.stop() - File "/Users/kondoh/kon_page/kon_ut/thr_stat/thr.py", line 177, in stop - th.stop() - File "/Users/kondoh/kon_page/kon_ut/thr_stat/thr.py", line 117, in stop - join() - File "/Users/kondoh/kon_page/kon_ut/thr_stat/thr.py", line 112, in join - e.th.join() - File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 1056, in join - self._wait_for_tstate_lock() - File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 1072, in _wait_for_tstate_lock - elif lock.acquire(block, timeout): + File "/Users/kondoh/kon_page/kon_ut/thr_stat/thr.py", line 250, in stop + time.sleep( 1 ) KeyboardInterrupt wait ok @@ -1055,7 +1050,7 @@ test( **dic ) File "./thr_stat_test.py", line 57, in test thr_gc.stop() - File "/Users/kondoh/kon_page/kon_ut/thr_stat/thr.py", line 176, in stop + File "/Users/kondoh/kon_page/kon_ut/thr_stat/thr.py", line 250, in stop time.sleep( 1 ) KeyboardInterrupt wait ok @@ -1088,9 +1083,9 @@ @@ -1111,9 +1106,9 @@ @@ -1150,9 +1145,9 @@ @@ -1173,9 +1168,9 @@ @@ -1212,9 +1207,9 @@ @@ -1235,9 +1230,9 @@ @@ -1284,11 +1279,11 @@ sleep 1 sleep 1 >stop +stop +sleep 1 kill SIGINT Traceback (most recent call last): File "./thr_stat_test.py", line 121, in @@ -1297,9 +1292,9 @@ @@ -1346,11 +1341,11 @@ ev.wait 1 ev.wait 1 >stop -stop ev.wait 1 ev.wait 1 ev.wait 1 +stop kill SIGINT Traceback (most recent call last): File "./thr_stat_test.py", line 121, in @@ -1359,9 +1354,9 @@ @@ -1408,14 +1403,28 @@ select 1 select 1 >stop +select 1 +select 1 +select 1 stop -stop -stop - + run() + File "./thr_stat_test.py", line 99, in run + test( **dic ) + File "./thr_stat_test.py", line 52, in test + th.stop() + File "/Users/kondoh/kon_page/kon_ut/thr_stat/thr.py", line 190, in stop + join( tmout ) + File "/Users/kondoh/kon_page/kon_ut/thr_stat/thr.py", line 184, in join + e.th.join() + File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 1056, in join + self._wait_for_tstate_lock() + File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/threading.py", line 1072, in _wait_for_tstate_lock + elif lock.acquire(block, timeout): +KeyboardInterrupt wait ok s_new=thr.th_new stop=False s_wait=f_wait_select sec=1 gc=False n=4 @@ -1448,9 +1457,9 @@ @@ -1473,9 +1482,9 @@ @@ -1514,9 +1523,9 @@ @@ -1539,9 +1548,9 @@ @@ -1580,9 +1589,9 @@ @@ -1605,9 +1614,9 @@ @@ -1654,8 +1663,16 @@ @@ -1666,10 +1683,10 @@ sleep 1 >stop stop sleep 1 sleep 1 sleep 1 ->stop kill SIGINT Traceback (most recent call last): File "./thr_stat_test.py", line 121, in @@ -1678,9 +1695,9 @@ @@ -1731,7 +1748,7 @@ test( **dic ) File "./thr_stat_test.py", line 57, in test thr_gc.stop() - File "/Users/kondoh/kon_page/kon_ut/thr_stat/thr.py", line 176, in stop + File "/Users/kondoh/kon_page/kon_ut/thr_stat/thr.py", line 250, in stop time.sleep( 1 ) KeyboardInterrupt wait ok @@ -1742,11 +1759,11 @@ ev.wait 1 ev.wait 1 >stop -stop ev.wait 1 ev.wait 1 ev.wait 1 +stop kill SIGINT Traceback (most recent call last): File "./thr_stat_test.py", line 121, in @@ -1755,9 +1772,9 @@ @@ -1808,8 +1825,16 @@ @@ -1822,10 +1847,8 @@ stop select 1 -stop -stop +select 1 +select 1 kill SIGINT Traceback (most recent call last): File "./thr_stat_test.py", line 121, in @@ -1834,9 +1857,9 @@ @@ -1879,9 +1902,9 @@ @@ -1904,9 +1927,9 @@ @@ -1949,9 +1972,9 @@ @@ -1974,9 +1997,9 @@ @@ -2019,9 +2042,9 @@ @@ -2044,9 +2067,9 @@