看板 Grad-ProbAsk 關於我們 聯絡資訊
不好意思 想請問一下 我在課本看到的一個是非題 問題是 The distinguishing feature of related threads is that the threads don't have totally separate memory space. 答案是True 所以意思是 要分辨是否為關聯的Thread只要看她們記憶體空間一不一樣囉? 麻煩可以請各大大幫忙解答一下嗎 感恩不盡 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 114.24.32.192
wheels:同一個process內的thread共享某些memory(ex: heap memory) 08/07 23:05
wheels:但不分享stack memory 所以題目說 not totally seperate就 08/07 23:06
wheels:是因為有共享的部分 08/07 23:06