作者查詢 / ManOfSteel

總覽項目: 發文 | 留言 | 暱稱
作者 ManOfSteel 在 PTT 全部看板的留言(推文), 共1959則
限定看板:全部
Fw: [問題] bool變數一寫多讀需要鎖嗎
[ Linux ]0 留言, 推噓總分: 0
作者: SFGEX - 發表於 2026/02/12 14:49(1天前)
1FManOfSteel: 我想請問一下,你是怎麼知道bool型別支援single write02/12 00:10
2FManOfSteel: 和 multiple load?02/12 00:10
3FManOfSteel: 參考這個網頁:https://en.cppreference.com/w/c/lang02/12 00:19
4FManOfSteel: uage/memory_model.html02/12 00:19
5FManOfSteel: 這一段話:When an汢valuation漑f an expression writ02/12 00:20
6FManOfSteel: When an汢valuation of an expression writes to a me02/12 00:21
7FManOfSteel: and another evaluation reads or modifies the same02/12 00:21
8FManOfSteel: memory location, the expressions are said to氲onf02/12 00:21
9FManOfSteel: 所以data race 是只要有一個 write 搭配其它 read 或w02/12 00:25
10FManOfSteel: rite 就會是發生。02/12 00:25
[問題] bool變數一寫多讀需要鎖嗎
[ C_and_CPP ]20 留言, 推噓總分: +4
作者: SFGEX - 發表於 2026/02/11 21:04(2天前)
1FManOfSteel: 我想請問一下,你是怎麼知道bool型別支援single write02/12 00:10
2FManOfSteel: 和 multiple load?02/12 00:10
3FManOfSteel: 參考這個網頁:https://en.cppreference.com/w/c/lang02/12 00:19
4FManOfSteel: uage/memory_model.html02/12 00:19
5FManOfSteel: 這一段話:When an汢valuation漑f an expression writ02/12 00:20
6FManOfSteel: When an汢valuation of an expression writes to a me02/12 00:21
7FManOfSteel: and another evaluation reads or modifies the same02/12 00:21
8FManOfSteel: memory location, the expressions are said to氲onf02/12 00:21
9FManOfSteel: 所以data race 是只要有一個 write 搭配其它 read 或w02/12 00:25
10FManOfSteel: rite 就會是發生。02/12 00:25
[情報] 3481 群創 115年1月營收
[ Stock ]88 留言, 推噓總分: +50
作者: rz2x - 發表於 2026/02/10 14:25(3天前)
63FManOfSteel: 果然包子=畫大餅02/10 16:05
[情報] 0205 上市外資買賣超排行
[ Stock ]157 留言, 推噓總分: +105
作者: saber50116 - 發表於 2026/02/05 16:18(1周前)
58FManOfSteel: 包子都先拉高,再殺低。最後爽出貨。02/05 16:24
[新聞] 竹科性騷遭調查1/獨家!聯發科前營運長
[ Tech_Job ]53 留言, 推噓總分: +21
作者: pl132 - 發表於 2026/01/30 22:39(1周前)
16FManOfSteel: 也是有可能空降被鬥啦!畢竟鬥人都是49.217.124.146 01/31 02:45
17FManOfSteel: 要師出有名XD49.217.124.146 01/31 02:45
[新聞] 駁斥謠言! 輝達沒收到中國H200訂單
[ Stock ]156 留言, 推噓總分: +92
作者: DrowningPool - 發表於 2026/01/29 16:21(2周前)
106FManOfSteel: 往下先一根01/29 16:52
[情報] 0122 上市外資買賣超排行
[ Stock ]179 留言, 推噓總分: +97
作者: saber50116 - 發表於 2026/01/22 16:12(3周前)
173FManOfSteel: 哈,我也空群創,面板三貓。我是不相信會變老虎啦qq01/22 17:56
174FManOfSteel: 過不久散戶應該會再出來哀嚎。悲劇總是一再重演qq01/22 17:58
[標的] soxs 市場過熱了 空一下
[ Stock ]167 留言, 推噓總分: +134
作者: r12121313 - 發表於 2026/01/15 22:59(4周前)
128FManOfSteel: 靠北,好猛,大盤漲多跌少,只能推了XD01/16 00:54
[新聞] 突進兒房間!花蓮媽性侵得逞 事後逼聞:
[ Gossiping ]180 留言, 推噓總分: +90
作者: area51gold - 發表於 2026/01/12 19:02(1月前)
180FManOfSteel: 噁噁,我猜是醜女才會這麼變態qq49.217.122.126 01/14 04:14
[新聞] 川普剛打委內瑞拉 白宮副幕僚長妻子:格
[ Gossiping ]129 留言, 推噓總分: +49
作者: STi2011 - 發表於 2026/01/04 23:02(1月前)
104FManOfSteel: 可以打支那嗎?川普爸爸XD49.215.56.228 01/05 02:02