以下成員源於類 QAtomicPointer 已過時。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。
(obsolete)
T *
|
load () const |
(obsolete)
void
|
store (T * newValue ) |
此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。
使用 loadRelaxed () 代替。
Atomically loads the value of this QAtomicPointer using relaxed memory ordering. The value is not modified in any way, but note that there's no guarantee that it remains so.
另請參閱 storeRelaxed () 和 loadAcquire ().
此函數已過時。提供它是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它。
使用 storeRelaxed () 代替。
Atomically stores the newValue value into this atomic type, using relaxed memory ordering.
另請參閱 storeRelease () 和 loadRelaxed ().