⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 comparexch.h

📁 基于LWVCL开发的库
💻 H
字号:
/* * Do an atomic compare and exchange.  The address 'A' is checked against   * value 'O' and if they match it's exchanged with value 'N'. * We return '1' if the exchange is sucessful (that is if (*A) == (O)), * otherwise 0. */#define COMPARE_AND_EXCHANGE(A,O,N) (atomic_compare_and_exchange_val_acq((A), (N), (O)) == (O))

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -