作者b9707114 (阿通)
看板NTUST_Talk
標題[其他] 求救!陳省隆作業系統作業...
時間Fri Apr 22 00:15:42 2011
花了兩小時,CH3的第6題還是不知道答案...,
有誰能解釋嗎= =?
題目如下:
There are two different implementations of POSIX pthreads in Linux.
One is at user level, the other is as kernel threads .
Which one is installed on the system you are using?
PS.題目一知半解...
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 123.193.40.219
1F:→ john0312:他問你, Linux下面的pthread有兩個版本, 一個是user的, 04/22 00:34
2F:→ john0312:一個是kernel, 請問你用的是使用哪一種? 04/22 00:35
3F:→ john0312:印象中kernel 2.4或更早的是user; 2.6的是kernel. 04/22 00:38
4F:→ b9707114:謝樓上,那答案是 user 嗎? 04/22 00:41
5F:→ b9707114:所以這要看我用哪一個版本?沒有正確答案 事嗎? 04/22 00:43
6F:→ b9707114:我看網路上說,pthread在linux是由kernel實現,是這樣子嗎? 04/22 00:50
7F:→ scott20144:hint:pthread_create() 04/22 00:59
8F:→ b9707114:大概是我太笨吧...我把pthread_create看完 還是不懂 = = 04/22 01:10
9F:推 final01:both吧!甚麼爛題目 04/22 11:16
10F:→ b9707114:老師用的Operating system with linux 偏實用,但google 04/22 15:45
11F:→ b9707114:已經開始找不到相關知識...,誰能提供相關參考書籍嗎? 04/22 15:46
12F:推 aids61517:原PO懶趴 04/22 17:25
13F:推 ILYY:怎麼看起來像在問你家裝哪個版本 囧 04/23 10:42