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>
◆ load_bool_tx()
static bool load_bool_tx |
( |
const bool * |
addr | ) |
|
|
inlinestatic |
Loads a value of type ' bool ' with transactional semantics.
- Parameters
-
- 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
-
addr | The address to privatize.
|
flags | Privatizes 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
-
addr | The destination address. |
value | The value to store at 'addr'. |