チェンジセット 3352: as3/Thread/branches/imajuk
- コミット日時:
- 2010/01/25 14:00:36 (2 年前)
- ファイル:
凡例:
- 変更無し
- 追加
- 削除
- 更新
- コピー
- 移動
as3/Thread/branches/imajuk/src/org/libspark/thread/Thread.as
r3324 r3352 1041 1041 */ 1042 1042 private function eventHandler(e:Event, handler:EventHandler):void 1043 { 1044 //実行関数が割り込みハンドラならイベントハンドラをリセットして何もしない 1043 { 1044 //割り込みが予約されていれば何もしない 1045 var me:Thread = this; 1046 if( 1047 _reserveInterrupt.some( 1048 function(thread : Thread, ...param):Boolean 1049 { 1050 return thread == me; 1051 } 1052 ) 1053 ) return; 1054 1055 //実行関数が割り込みハンドラならイベントハンドラをリセットして何もしない 1045 1056 if (_interruptedHandler != null && _runHandler == _interruptedHandler) 1046 1057 { as3/Thread/branches/imajuk/tests/org/libspark/thread/InterruptHandlerTest.as
r3324 r3352 119 119 { 120 120 //InterruptHandlerTestThreadの割り込みハンドラが実行されたかどうかテスト 121 assertEquals("interrupt eventinterrutHandler finalize ", Static.log);121 assertEquals("interrupt interrutHandler finalize ", Static.log); 122 122 //割り込み後のステータスをテスト 123 123 assertEquals(ThreadState.TERMINATED, thread.state);

