read-write counter 中文意思是什麼

read-write counter 解釋
讀寫計數器
  • read : vt 1 閱讀,朗讀,誦讀;【議會】宣讀(議案);照譜唱[奏] (aloud out off)。2 辨讀,辨認(暗號等)...
  • write : vt (wrote 〈古語〉 writ; written 〈古語〉 writ)1 寫,記,錄,抄,謄;填寫;簽發;簽訂;簽署。2 ...
  • counter : n 1 計算者;計算器;計數器。2 籌碼,號碼;偽幣;劣幣;〈蔑稱〉錢;棋子;湊數的人,玩具似的人。3 ...
  1. To access the counter in read write mode

    ;若要以讀/寫模式訪問計數器,則為
  2. True to access the counter in read - only mode though the counter itself could be read write

    若要以只讀模式訪問計數器(即使計數器本身可能是可讀/寫的) ,則為
  3. While writes to volatile variables are guaranteed to be immediately visible to other threads, there is no way to render a read - modify - write sequence of operations atomic, meaning, for example, that a volatile variable cannot be used to reliably implement a mutex mutual exclusion lock or a counter

    雖然可以保證其他變量可以立即看到對可變變量的寫入,但無法呈現原子操作的讀-修改-寫順序,這意味著(比如說)可變變量無法用來可靠地實現互斥(互斥鎖定)或計數器。
分享友人