- Mutithreading
Ruby threads.
in-processでありportable。multi-coreの恩恵はなし。
いろいろ落とし穴はあるけど便利。- Creating Ruby Threads
Thread.new(hoge) do |var|
...
end
が基本構文。 - Manipulating Threads
なぜjoinの名付けたかがわからない。 - Thread Variables
Thread.current["mycount"]
とすると、各thread間でアクセス可能となる。 - Threads and Exceptions
特になし。 
 - Creating Ruby Threads
 - Controlling the Thread scheduler
 - Mutual Exclusion
- Monitors
 - Queus
 - Condition Variables
 
 - Monitors
 - Running Multiple Processes
- Spawning New Processes
 - Independent Children
 - Blocks and Subprocesses
 
 - Spawning New Processes
 
以上、まとめて特になし。
0 件のコメント:
コメントを投稿