チェンジセット 535
- コミット日時:
- 2008/05/27 23:04:32 (6 ヶ月前)
- ファイル:
-
- as3/Thread/branches/soumen/src/org/libspark/thread/EnterFrameThreadExecutor.as (更新) (1 diff)
- as3/Thread/branches/soumen/src/org/libspark/thread/IMonitor.as (更新) (1 diff)
- as3/Thread/branches/soumen/src/org/libspark/thread/IThreadExecutor.as (更新) (1 diff)
- as3/Thread/branches/soumen/src/org/libspark/thread/Monitor.as (更新) (2 diffs)
- as3/Thread/branches/soumen/src/org/libspark/thread/Thread.as (更新) (2 diffs)
- as3/Thread/branches/soumen/src/org/libspark/thread/ThreadState.as (更新) (1 diff)
- as3/Thread/branches/soumen/src/org/libspark/thread/errors/CurrentThreadNotFoundError.as (更新) (1 diff)
- as3/Thread/branches/soumen/src/org/libspark/thread/errors/IllegalThreadStateError.as (更新) (1 diff)
- as3/Thread/branches/soumen/src/org/libspark/thread/errors/InterruptedError.as (更新) (1 diff)
- as3/Thread/branches/soumen/src/org/libspark/thread/threads/net/URLLoaderThread.as (更新) (2 diffs)
- as3/Thread/branches/soumen/src/org/libspark/thread/utils/Executor.as (更新) (2 diffs)
- as3/Thread/branches/soumen/src/org/libspark/thread/utils/ParallelExecutor.as (更新) (2 diffs)
- as3/Thread/branches/soumen/src/org/libspark/thread/utils/SerialExecutor.as (更新) (2 diffs)
凡例:
- 変更無し
- 追加
- 削除
- 更新
- コピー
- 移動
as3/Thread/branches/soumen/src/org/libspark/thread/EnterFrameThreadExecutor.as
r515 r535 1 package org.libspark.thread 1 /* 2 * ActionScript Thread Library 3 * 4 * Licensed under the MIT License 5 * 6 * Copyright (c) 2008 BeInteractive! (www.be-interactive.org) and 7 * Spark project (www.libspark.org) 8 * 9 * Permission is hereby granted, free of charge, to any person obtaining a copy 10 * of this software and associated documentation files (the "Software"), to deal 11 * in the Software without restriction, including without limitation the rights 12 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 13 * copies of the Software, and to permit persons to whom the Software is 14 * furnished to do so, subject to the following conditions: 15 * 16 * The above copyright notice and this permission notice shall be included in 17 * all copies or substantial portions of the Software. 18 * 19 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 20 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 21 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 22 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 23 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 24 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 25 * THE SOFTWARE. 26 * 27 */ 28 package org.libspark.thread 2 29 { 3 30 import flash.display.MovieClip; 4 31 import flash.events.Event; 5 32 33 /** 34 * @author yossy:beinteractive 35 */ 6 36 public class EnterFrameThreadExecutor implements IThreadExecutor 7 37 { as3/Thread/branches/soumen/src/org/libspark/thread/IMonitor.as
r520 r535 1 package org.libspark.thread 1 /* 2 * ActionScript Thread Library 3 * 4 * Licensed under the MIT License 5 * 6 * Copyright (c) 2008 BeInteractive! (www.be-interactive.org) and 7 * Spark project (www.libspark.org) 8 * 9 * Permission is hereby granted, free of charge, to any person obtaining a copy 10 * of this software and associated documentation files (the "Software"), to deal 11 * in the Software without restriction, including without limitation the rights 12 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 13 * copies of the Software, and to permit persons to whom the Software is 14 * furnished to do so, subject to the following conditions: 15 * 16 * The above copyright notice and this permission notice shall be included in 17 * all copies or substantial portions of the Software. 18 * 19 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 20 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 21 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 22 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 23 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 24 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 25 * THE SOFTWARE. 26 * 27 */ 28 package org.libspark.thread 2 29 { 30 /** 31 * @author yossy:beinteractive 32 */ 3 33 public interface IMonitor 4 34 { as3/Thread/branches/soumen/src/org/libspark/thread/IThreadExecutor.as
r464 r535 1 package org.libspark.thread 1 /* 2 * ActionScript Thread Library 3 * 4 * Licensed under the MIT License 5 * 6 * Copyright (c) 2008 BeInteractive! (www.be-interactive.org) and 7 * Spark project (www.libspark.org) 8 * 9 * Permission is hereby granted, free of charge, to any person obtaining a copy 10 * of this software and associated documentation files (the "Software"), to deal 11 * in the Software without restriction, including without limitation the rights 12 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 13 * copies of the Software, and to permit persons to whom the Software is 14 * furnished to do so, subject to the following conditions: 15 * 16 * The above copyright notice and this permission notice shall be included in 17 * all copies or substantial portions of the Software. 18 * 19 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 20 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 21 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 22 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 23 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 24 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 25 * THE SOFTWARE. 26 * 27 */ 28 package org.libspark.thread 2 29 { 30 /** 31 * @author yossy:beinteractive 32 */ 3 33 public interface IThreadExecutor 4 34 { as3/Thread/branches/soumen/src/org/libspark/thread/Monitor.as
r529 r535 1 package org.libspark.thread 1 /* 2 * ActionScript Thread Library 3 * 4 * Licensed under the MIT License 5 * 6 * Copyright (c) 2008 BeInteractive! (www.be-interactive.org) and 7 * Spark project (www.libspark.org) 8 * 9 * Permission is hereby granted, free of charge, to any person obtaining a copy 10 * of this software and associated documentation files (the "Software"), to deal 11 * in the Software without restriction, including without limitation the rights 12 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 13 * copies of the Software, and to permit persons to whom the Software is 14 * furnished to do so, subject to the following conditions: 15 * 16 * The above copyright notice and this permission notice shall be included in 17 * all copies or substantial portions of the Software. 18 * 19 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 20 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 21 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 22 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 23 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 24 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 25 * THE SOFTWARE. 26 * 27 */ 28 package org.libspark.thread 2 29 { 3 30 import flash.utils.Dictionary; … … 5 32 import flash.utils.clearTimeout; 6 33 34 /** 35 * @author yossy:beinteractive 36 */ 7 37 public class Monitor implements IMonitor 8 38 { as3/Thread/branches/soumen/src/org/libspark/thread/Thread.as
r529 r535 1 package org.libspark.thread 1 /* 2 * ActionScript Thread Library 3 * 4 * Licensed under the MIT License 5 * 6 * Copyright (c) 2008 BeInteractive! (www.be-interactive.org) and 7 * Spark project (www.libspark.org) 8 * 9 * Permission is hereby granted, free of charge, to any person obtaining a copy 10 * of this software and associated documentation files (the "Software"), to deal 11 * in the Software without restriction, including without limitation the rights 12 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 13 * copies of the Software, and to permit persons to whom the Software is 14 * furnished to do so, subject to the following conditions: 15 * 16 * The above copyright notice and this permission notice shall be included in 17 * all copies or substantial portions of the Software. 18 * 19 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 20 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 21 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 22 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 23 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 24 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 25 * THE SOFTWARE. 26 * 27 */ 28 package org.libspark.thread 2 29 { 3 30 import flash.events.Event; … … 11 38 import org.libspark.thread.errors.InterruptedError; 12 39 40 /** 41 * @author yossy:beinteractive 42 */ 13 43 public class Thread extends Monitor 14 44 { as3/Thread/branches/soumen/src/org/libspark/thread/ThreadState.as
r507 r535 1 package org.libspark.thread 1 /* 2 * ActionScript Thread Library 3 * 4 * Licensed under the MIT License 5 * 6 * Copyright (c) 2008 BeInteractive! (www.be-interactive.org) and 7 * Spark project (www.libspark.org) 8 * 9 * Permission is hereby granted, free of charge, to any person obtaining a copy 10 * of this software and associated documentation files (the "Software"), to deal 11 * in the Software without restriction, including without limitation the rights 12 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 13 * copies of the Software, and to permit persons to whom the Software is 14 * furnished to do so, subject to the following conditions: 15 * 16 * The above copyright notice and this permission notice shall be included in 17 * all copies or substantial portions of the Software. 18 * 19 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 20 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 21 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 22 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 23 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 24 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 25 * THE SOFTWARE. 26 * 27 */ 28 package org.libspark.thread 2 29 { 3 30 /** 4 31 * スレッドの状態です。スレッドは特定の時点でひとつの状態しか取れません。 32 * 33 * @author yossy:beinteractive 5 34 */ 6 35 public class ThreadState as3/Thread/branches/soumen/src/org/libspark/thread/errors/CurrentThreadNotFoundError.as
r514 r535 1 package org.libspark.thread.errors 1 /* 2 * ActionScript Thread Library 3 * 4 * Licensed under the MIT License 5 * 6 * Copyright (c) 2008 BeInteractive! (www.be-interactive.org) and 7 * Spark project (www.libspark.org) 8 * 9 * Permission is hereby granted, free of charge, to any person obtaining a copy 10 * of this software and associated documentation files (the "Software"), to deal 11 * in the Software without restriction, including without limitation the rights 12 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 13 * copies of the Software, and to permit persons to whom the Software is 14 * furnished to do so, subject to the following conditions: 15 * 16 * The above copyright notice and this permission notice shall be included in 17 * all copies or substantial portions of the Software. 18 * 19 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 20 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 21 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 22 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 23 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 24 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 25 * THE SOFTWARE. 26 * 27 */ 28 package org.libspark.thread.errors 2 29 { 30 /** 31 * @author yossy:beinteractive 32 */ 3 33 public class CurrentThreadNotFoundError extends Error 4 34 { as3/Thread/branches/soumen/src/org/libspark/thread/errors/IllegalThreadStateError.as
r514 r535 1 package org.libspark.thread.errors 1 /* 2 * ActionScript Thread Library 3 * 4 * Licensed under the MIT License 5 * 6 * Copyright (c) 2008 BeInteractive! (www.be-interactive.org) and 7 * Spark project (www.libspark.org) 8 * 9 * Permission is hereby granted, free of charge, to any person obtaining a copy 10 * of this software and associated documentation files (the "Software"), to deal 11 * in the Software without restriction, including without limitation the rights 12 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 13 * copies of the Software, and to permit persons to whom the Software is 14 * furnished to do so, subject to the following conditions: 15 * 16 * The above copyright notice and this permission notice shall be included in 17 * all copies or substantial portions of the Software. 18 * 19 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 20 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 21 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 22 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 23 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 24 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 25 * THE SOFTWARE. 26 * 27 */ 28 package org.libspark.thread.errors 2 29 { 30 /** 31 * @author yossy:beinteractive 32 */ 3 33 public class IllegalThreadStateError extends Error 4 34 { as3/Thread/branches/soumen/src/org/libspark/thread/errors/InterruptedError.as
r527 r535 1 /* 2 * ActionScript Thread Library 3 * 4 * Licensed under the MIT License 5 * 6 * Copyright (c) 2008 BeInteractive! (www.be-interactive.org) and 7 * Spark project (www.libspark.org) 8 * 9 * Permission is hereby granted, free of charge, to any person obtaining a copy 10 * of this software and associated documentation files (the "Software"), to deal 11 * in the Software without restriction, including without limitation the rights 12 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 13 * copies of the Software, and to permit persons to whom the Software is 14 * furnished to do so, subject to the following conditions: 15 * 16 * The above copyright notice and this permission notice shall be included in 17 * all copies or substantial portions of the Software. 18 * 19 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 20 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 21 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 22 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 23 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 24 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 25 * THE SOFTWARE. 26 * 27 */ 1 28 package org.libspark.thread.errors 2 29 { 30 /** 31 * @author yossy:beinteractive 32 */ 3 33 public class InterruptedError extends Error 4 34 { as3/Thread/branches/soumen/src/org/libspark/thread/threads/net/URLLoaderThread.as
r533 r535 1 package org.libspark.thread.threads.net 1 /* 2 * ActionScript Thread Library 3 * 4 * Licensed under the MIT License 5 * 6 * Copyright (c) 2008 BeInteractive! (www.be-interactive.org) and 7 * Spark project (www.libspark.org) 8 * 9 * Permission is hereby granted, free of charge, to any person obtaining a copy 10 * of this software and associated documentation files (the "Software"), to deal 11 * in the Software without restriction, including without limitation the rights 12 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 13 * copies of the Software, and to permit persons to whom the Software is 14 * furnished to do so, subject to the following conditions: 15 * 16 * The above copyright notice and this permission notice shall be included in 17 * all copies or substantial portions of the Software. 18 * 19 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 20 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 21 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 22 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 23 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 24 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 25 * THE SOFTWARE. 26 * 27 */ 28 package org.libspark.thread.threads.net 2 29 { 3 30 import org.libspark.thread.Thread; … … 25 52 * flash.events.IOErrorEvent.IO_ERROR: flash.errors.IOError 26 53 * flash.events.SecurityErrorEvent.SECURITY_ERROR: SecurityError 54 * 55 * @author yossy:beinteractive 27 56 */ 28 57 public class URLLoaderThread extends Thread as3/Thread/branches/soumen/src/org/libspark/thread/utils/Executor.as
r533 r535 1 package org.libspark.thread.utils 1 /* 2 * ActionScript Thread Library 3 * 4 * Licensed under the MIT License 5 * 6 * Copyright (c) 2008 BeInteractive! (www.be-interactive.org) and 7 * Spark project (www.libspark.org) 8 * 9 * Permission is hereby granted, free of charge, to any person obtaining a copy 10 * of this software and associated documentation files (the "Software"), to deal 11 * in the Software without restriction, including without limitation the rights 12 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 13 * copies of the Software, and to permit persons to whom the Software is 14 * furnished to do so, subject to the following conditions: 15 * 16 * The above copyright notice and this permission notice shall be included in 17 * all copies or substantial portions of the Software. 18 * 19 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 20 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 21 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 22 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 23 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 24 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 25 * THE SOFTWARE. 26 * 27 */ 28 package org.libspark.thread.utils 2 29 { 3 30 import org.libspark.thread.Thread; … … 5 32 /** 6 33 * Executor は複数のスレッドを実行するスレッドのための基底クラスです 34 * 35 * @author yossy:beinteractive 7 36 */ 8 37 public class Executor extends Thread as3/Thread/branches/soumen/src/org/libspark/thread/utils/ParallelExecutor.as
r533 r535 1 package org.libspark.thread.utils 1 /* 2 * ActionScript Thread Library 3 * 4 * Licensed under the MIT License 5 * 6 * Copyright (c) 2008 BeInteractive! (www.be-interactive.org) and 7 * Spark project (www.libspark.org) 8 * 9 * Permission is hereby granted, free of charge, to any person obtaining a copy 10 * of this software and associated documentation files (the "Software"), to deal 11 * in the Software without restriction, including without limitation the rights 12 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 13 * copies of the Software, and to permit persons to whom the Software is 14 * furnished to do so, subject to the following conditions: 15 * 16 * The above copyright notice and this permission notice shall be included in 17 * all copies or substantial portions of the Software. 18 * 19 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 20 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 21 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 22 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 23 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 24 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 25 * THE SOFTWARE. 26 * 27 */ 28 package org.libspark.thread.utils 2 29 { 3 30 import org.libspark.thread.Thread; … … 7 34 * 8 35 * 同時に全てのスレッドを開始し、全てのスレッドの実行が終了するとこのスレッドも終了します 36 * 37 * @author yossy:beinteractive 9 38 */ 10 39 public class ParallelExecutor extends Executor as3/Thread/branches/soumen/src/org/libspark/thread/utils/SerialExecutor.as
r533 r535 1 package org.libspark.thread.utils 1 /* 2 * ActionScript Thread Library 3 * 4 * Licensed under the MIT License 5 * 6 * Copyright (c) 2008 BeInteractive! (www.be-interactive.org) and 7 * Spark project (www.libspark.org) 8 * 9 * Permission is hereby granted, free of charge, to any person obtaining a copy 10 * of this software and associated documentation files (the "Software"), to deal 11 * in the Software without restriction, including without limitation the rights 12 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 13 * copies of the Software, and to permit persons to whom the Software is 14 * furnished to do so, subject to the following conditions: 15 * 16 * The above copyright notice and this permission notice shall be included in 17 * all copies or substantial portions of the Software. 18 * 19 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 20 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 21 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 22 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 23 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 24 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 25 * THE SOFTWARE. 26 * 27 */ 28 package org.libspark.thread.utils 2 29 { 3 30 import org.libspark.thread.Thread; … … 7 34 * 8 35 * 開始したスレッドの終了を待って次のスレッドを実行し、全てのスレッドの実行が終了するとこのスレッドも終了します 36 * 37 * @author yossy:beinteractive 9 38 */ 10 39 public class SerialExecutor extends Executor
