チェンジセット 719
- コミット日時:
- 2008/06/28 09:54:14 (5 ヶ月前)
- ファイル:
-
- as3/Thread/trunk/Thread.as3proj (更新) (1 diff)
- as3/Thread/trunk/src/org/libspark/thread/threads/progression/ThreadCommand.as (更新) (2 diffs)
- as3/Thread/trunk/src/org/libspark/thread/utils/ParallelExecutor.as (更新) (2 diffs)
- as3/Thread/trunk/src/org/libspark/thread/utils/SerialExecutor.as (更新) (2 diffs)
凡例:
- 変更無し
- 追加
- 削除
- 更新
- コピー
- 移動
as3/Thread/trunk/Thread.as3proj
r653 r719 69 69 <!-- Class files to compile (other referenced classes will automatically be included) --> 70 70 <compileTargets> 71 <compile path="samples\ urlloader\Sample.as" />71 <compile path="samples\hello\Sample.as" /> 72 72 </compileTargets> 73 73 <!-- Paths to exclude from the Project Explorer tree --> as3/Thread/trunk/src/org/libspark/thread/threads/progression/ThreadCommand.as
r641 r719 147 147 import org.libspark.thread.Thread; 148 148 import flash.utils.setTimeout; 149 import org.libspark.thread.ThreadState; 149 150 150 151 class AdapterThread extends Thread … … 169 170 { 170 171 error(Object, errorHandler); 171 thread.start(); 172 if (thread.state == ThreadState.NEW) { 173 thread.start(); 174 } 172 175 thread.join(); 173 176 } as3/Thread/trunk/src/org/libspark/thread/utils/ParallelExecutor.as
r653 r719 29 29 { 30 30 import org.libspark.thread.Thread; 31 import org.libspark.thread.ThreadState; 31 32 32 33 /** … … 54 55 // 全てのスレッドを開始 55 56 for each (var thread:Thread in _threads) { 56 thread.start(); 57 if (thread.state == ThreadState.NEW) { 58 thread.start(); 59 } 57 60 } 58 61 as3/Thread/trunk/src/org/libspark/thread/utils/SerialExecutor.as
r653 r719 29 29 { 30 30 import org.libspark.thread.Thread; 31 import org.libspark.thread.ThreadState; 31 32 32 33 /** … … 89 90 90 91 // スレッドを開始 91 thread.start(); 92 if (thread.state == ThreadState.NEW) { 93 thread.start(); 94 } 92 95 // 終了を待つ 93 96 thread.join();
