作者AmosYang (LetMeGoogleThatForYou)
看板java
標題Re: [問題] thread會導致程式執行反而變慢嗎?
時間Thu Apr 1 06:41:06 2010
※ 引述《yamamura (sadako)》之銘言:
: 請問我有遺漏哪些重點呢?為什麼會這樣?
http://en.wikipedia.org/wiki/Thread_(computer_science)
http://en.wikipedia.org/wiki/Multithreading
http://www.google.com/search?q=multithreading
: 請各位高手解答,謝謝。
^^^^^^^^^^^^^^
有實驗精神非常好,若能
自動自發的學習,那還不飛上天!
>>>
http://www.google.com/ <<<
>>>
http://www.wikipedia.org/ <<<
--
"Mr. Data, can you show me how to parse this XML?"
"Certainly, sir.
Let me google that for you."
-- StarTrek, the Next Gen. 《Back to 2009》 (誤)
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 65.87.177.87
推 tonytonyjan:感覺tkcn大可以為你解惑XD 04/01 09:06
→ tkcn:樓上這個愚人節玩笑不錯 04/01 09:18
→ AmosYang:有請 tkcn 大 XD 04/01 17:09
推 yamamura:K了OS的書之後覺得的確是context switch吃掉時間 04/02 00:22
→ tkcn:↑ thread 那麼短,也許還沒 switch 就已經結束了 04/02 09:06
→ tkcn:目前你的狀況應該是花在建立,join 還有搞不好 job 根本分配錯 04/02 09:09