作者查詢 / ManOfSteel
作者 ManOfSteel 的總覽 (PTT發文,留言,暱稱)
發文數量: 51
收到的『推』: 218 (66.9%)
收到的『→』: 106 (32.5%)
收到的『噓』: 2 (0.6%)
留言數量: 1966
送出的『推』: 1267 (64.4%)
送出的『→』: 651 (33.1%)
送出的『噓』: 48 (2.4%)
使用過的暱稱: 3
ManOfSteel 在 PTT 最新的發文, 共 51 篇
ManOfSteel 在 PTT 最新的留言, 共 1966 則
1F推: 我想請問一下,你是怎麼知道bool型別支援single write02/12 00:10
2F→: 和 multiple load?02/12 00:10
3F推: 參考這個網頁:https://en.cppreference.com/w/c/lang02/12 00:19
4F→: uage/memory_model.html02/12 00:19
5F→: 這一段話:When an汢valuation漑f an expression writ02/12 00:20
6F→: When an汢valuation of an expression writes to a me02/12 00:21
7F→: and another evaluation reads or modifies the same02/12 00:21
8F→: memory location, the expressions are said to氲onf02/12 00:21
9F→: 所以data race 是只要有一個 write 搭配其它 read 或w02/12 00:25
10F→: rite 就會是發生。02/12 00:25
21F推: 其實我認為,為了維持程式在不同軟硬體平台上的行為一02/13 22:31
22F→: 致,02/13 22:31
23F→: 都應該要根據C spec所敘述的性質,02/13 22:33
24F→: 使用atomic type/atomic operation進行操作,02/13 22:34
25F→: 畢竟組語層級的行為,本身就不具備可移植性。02/13 22:38
27F→: 詳情可以搜尋undefined behavior,這是為了避免這一02/13 22:43
28F→: 類事情發生。02/13 22:43
1F推: 我想請問一下,你是怎麼知道bool型別支援single write02/12 00:10
2F→: 和 multiple load?02/12 00:10
3F推: 參考這個網頁:https://en.cppreference.com/w/c/lang02/12 00:19
4F→: uage/memory_model.html02/12 00:19
5F→: 這一段話:When an汢valuation漑f an expression writ02/12 00:20
6F→: When an汢valuation of an expression writes to a me02/12 00:21
7F→: and another evaluation reads or modifies the same02/12 00:21
8F→: memory location, the expressions are said to氲onf02/12 00:21
9F→: 所以data race 是只要有一個 write 搭配其它 read 或w02/12 00:25
10F→: rite 就會是發生。02/12 00:25
63F推: 果然包子=畫大餅02/10 16:05
58F推: 包子都先拉高,再殺低。最後爽出貨。02/05 16:24
16F推: 也是有可能空降被鬥啦!畢竟鬥人都是49.217.124.146 01/31 02:45
17F→: 要師出有名XD49.217.124.146 01/31 02:45
ManOfSteel 在 PTT 的暱稱紀錄, 共 3 個
暱稱:Immemorial
文章數量:17
暱稱:Man Of Steel
文章數量:13
暱稱:Man Of Steel
文章數量:4