Sese Framework
2.3.0
A cross-platform framework
|
Contains APIs and types for concurrent data structures. More...
#include <sese/Config.h>
Go to the source code of this file.
Classes | |
struct | sese::concurrent::Node< T > |
Node. More... | |
Namespaces | |
namespace | sese |
namespace | sese::concurrent |
Functions | |
bool | compareAndSwapPointer (void *volatile *object, void *oldValue, void *newValue) noexcept |
Compares and swaps two pointers. | |
Contains APIs and types for concurrent data structures.
|
inlinenoexcept |
Compares and swaps two pointers.
* if( *object == oldValue ) { * *object = newValue; * return true; * } else { * return false; * } *
object | The object to be compared |
oldValue | The original value |
newValue | The value to be set |