picotm  0.9.0
Functions
stdbool.h File Reference

Transactional wrappers for interfaces of <stdbool.h>. More...

#include <picotm/compiler.h>
#include <picotm/config/picotm-libc-config.h>
#include <picotm/picotm-tm.h>
#include <stdbool.h>

Functions

static bool load_bool_tx (const bool *addr)
 
static void privatize_bool_tx (const bool *addr, unsigned long flags)
 
static void store_bool_tx (bool *addr, bool value)
 

Function Documentation

◆ load_bool_tx()

static bool load_bool_tx ( const bool *  addr)
inlinestatic

Loads a value of type ' bool ' with transactional semantics.

Parameters
addrThe source address.
Returns
The transaction-local value loaded from address 'addr'.

◆ privatize_bool_tx()

static void privatize_bool_tx ( const bool *  addr,
unsigned long  flags 
)
inlinestatic

Privatizes a value of type ' bool '.

Parameters
addrThe address to privatize.
flagsPrivatizes for loading and/or storing.

◆ store_bool_tx()

static void store_bool_tx ( bool *  addr,
bool  value 
)
inlinestatic

Stores a value of type ' bool ' with transactional semantics.

Parameters
addrThe destination address.
valueThe value to store at 'addr'.