[問題] Linux行程間通訊的書程式碼還能用嗎?

作者: ttucse ((((>( ̄▽ ̄)<))))   2024-11-09 01:02:07
得到一本Linux行程間通訊:技巧秘辛
https://i.imgur.com/UH6e1t0.jpeg
https://www.gotop.com.tw/tmp/books?Types=A02&bn=PT2006
https://tinyurl.com/3rhyche3
上面寫說程式碼在
Red Hat Linux 7.3及8.0測試過
是2000年左右出的Red Hat Linux 7.3及8.0
不是後來現在的
Red Hat Enterprise Linux
想請教大家這本書的內容還可以用嗎?
還是太舊了
作者: Bencrie   2024-11-09 01:52:00
除了 LinuxThread 以外其他應該會通吧thread 看 pthread 就行了C11 也有標準的 thread,基本上就 pthread 換名字
作者: ttucse ((((>( ̄▽ ̄)<))))   2024-11-09 02:46:00
所以那時的linux是自己一套的實作不是pthreads嗎?那不就跟主流的ptbread不相容,真奇妙。
作者: hizuki (ayaka)   2024-11-10 09:41:00
沒有啦pthread一開始就在userspace支援的

Links booklink

Contact Us: admin [ a t ] ucptt.com