dxd - dynax driver framework 3.0.0d222
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx::circular::interlocked< dst_t > Struct Template Reference

compare-exchange returning the prior value regardless of outcome (WIN32 Interlocked* semantics) More...

#include <dx_circular.h>

Static Public Member Functions

static dst_t compare_exchange (volatile dst_t *dst, dst_t desired, dst_t comperator)

Detailed Description

template<typename dst_t>
struct dx::circular::interlocked< dst_t >

compare-exchange returning the prior value regardless of outcome (WIN32 Interlocked* semantics)

Todo
platform-dependent, provisionally placed here same as fence above - belongs as a shared dxd primitive once interface/'s no-dependency-on-kernel/ direction is rethought (see fence's own todo)

Member Function Documentation

◆ compare_exchange()

template<typename dst_t>
dst_t dx::circular::interlocked< dst_t >::compare_exchange ( volatile dst_t * dst,
dst_t desired,
dst_t comperator )
inlinestatic
Here is the caller graph for this function:

The documentation for this struct was generated from the following file:

(c) copyright 2009 dynamic acoustics e.U. generated on

a closed source license may be obtained by requesting a written permission from dynamic acoustics e.U.
however - governmental use generally and military use especially is strictly prohibited though.