作者查詢 / ManOfSteel

總覽項目: 發文 | 留言 | 暱稱
作者 ManOfSteel 在 PTT 全部看板的留言(推文), 共1981則
限定看板:全部
[情報] 白宮否認正在考慮對伊朗使用核武
[ Stock ]689 留言, 推噓總分: +290
作者: ng101281 - 發表於 2026/04/07 23:04(5天前)
631FManOfSteel: 川寶說的話,要反著看,看來要種香菇惹qq04/08 01:20
[新聞] 川普:該由美國收荷姆茲海峽「通行費」
[ Stock ]435 留言, 推噓總分: +194
作者: a5687920 - 發表於 2026/04/07 09:34(6天前)
426FManOfSteel: 皓首匹夫 蒼髯老賊04/07 16:55
[新聞] 都喜歡地獄?回敬川普限時倒數 伊朗也
[ Stock ]211 留言, 推噓總分: +125
作者: relax911 - 發表於 2026/04/05 19:29(1周前)
166FManOfSteel: 雙重中二大戰04/05 22:51
[新聞] 呂秋遠涉懷孕歧視判賠60萬提上訴 林沄蓁
[ Gossiping ]135 留言, 推噓總分: +71
作者: tiger911 - 發表於 2026/03/17 09:29(3周前)
130FManOfSteel: 呂不是私生活一直都很亂?怎麼最近鬧49.215.100.5 03/17 18:43
131FManOfSteel: 得那麼大?49.215.100.5 03/17 18:43
[問卦] 盧比歐:伊朗被打會反擊美 所以先攻伊朗
[ Gossiping ]187 留言, 推噓總分: +85
作者: bluehttp - 發表於 2026/03/03 09:17(1月前)
186FManOfSteel: 跟以色列說法一樣XD49.217.203.89 03/03 19:05
[新聞] 聯發科攜手SpaceX實現衛星直連手機 大搶
[ Stock ]28 留言, 推噓總分: +15
作者: Kuwano - 發表於 2026/03/03 18:51(1月前)
5FManOfSteel: 大盤往下,各種炒股題材都沒用。03/03 18:57
[新聞] 摸女友胸部一下...台南工程師挨告性騷
[ Gossiping ]960 留言, 推噓總分: +374
作者: sulanpa - 發表於 2026/02/22 12:48(1月前)
857FManOfSteel: 八掛版-149.215.61.46 02/22 19:52
[問題] bool變數一寫多讀需要鎖嗎
[ C_and_CPP ]34 留言, 推噓總分: +6
作者: 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
21FManOfSteel: 其實我認為,為了維持程式在不同軟硬體平台上的行為一02/13 22:31
22FManOfSteel: 致,02/13 22:31
23FManOfSteel: 都應該要根據C spec所敘述的性質,02/13 22:33
24FManOfSteel: 使用atomic type/atomic operation進行操作,02/13 22:34
25FManOfSteel: 畢竟組語層級的行為,本身就不具備可移植性。02/13 22:38
27FManOfSteel: 詳情可以搜尋undefined behavior,這是為了避免這一02/13 22:43
28FManOfSteel: 類事情發生。02/13 22:43
Fw: [問題] bool變數一寫多讀需要鎖嗎
[ Linux ]3 留言, 推噓總分: 0
作者: SFGEX - 發表於 2026/02/12 14:49(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(2月前)
63FManOfSteel: 果然包子=畫大餅02/10 16:05