Transactional wrappers for interfaces of <stddef.h>.
More...
#include <picotm/config/picotm-libc-config.h>
#include <picotm/picotm-tm.h>
#include <stddef.h>
◆ load_ptrdiff_t_tx()
static ptrdiff_t load_ptrdiff_t_tx |
( |
const ptrdiff_t * |
addr | ) |
|
|
inlinestatic |
Loads a value of type ' ptrdiff_t ' with transactional semantics.
- Parameters
-
- Returns
- The transaction-local value loaded from address 'addr'.
◆ load_size_t_tx()
static size_t load_size_t_tx |
( |
const size_t * |
addr | ) |
|
|
inlinestatic |
Loads a value of type ' size_t ' with transactional semantics.
- Parameters
-
- Returns
- The transaction-local value loaded from address 'addr'.
◆ load_wchar_t_tx()
static wchar_t load_wchar_t_tx |
( |
const wchar_t * |
addr | ) |
|
|
inlinestatic |
Loads a value of type ' wchar_t ' with transactional semantics.
- Parameters
-
- Returns
- The transaction-local value loaded from address 'addr'.
◆ privatize_ptrdiff_t_tx()
static void privatize_ptrdiff_t_tx |
( |
const ptrdiff_t * |
addr, |
|
|
unsigned long |
flags |
|
) |
| |
|
inlinestatic |
Privatizes a value of type ' ptrdiff_t '.
- Parameters
-
addr | The address to privatize.
|
flags | Privatizes for loading and/or storing. Not setting flags discards the buffer. |
◆ privatize_size_t_tx()
static void privatize_size_t_tx |
( |
const size_t * |
addr, |
|
|
unsigned long |
flags |
|
) |
| |
|
inlinestatic |
Privatizes a value of type ' size_t '.
- Parameters
-
addr | The address to privatize.
|
flags | Privatizes for loading and/or storing. Not setting flags discards the buffer. |
◆ privatize_wchar_t_tx()
static void privatize_wchar_t_tx |
( |
const wchar_t * |
addr, |
|
|
unsigned long |
flags |
|
) |
| |
|
inlinestatic |
Privatizes a value of type ' wchar_t '.
- Parameters
-
addr | The address to privatize.
|
flags | Privatizes for loading and/or storing. Not setting flags discards the buffer. |
◆ store_ptrdiff_t_tx()
static void store_ptrdiff_t_tx |
( |
ptrdiff_t * |
addr, |
|
|
ptrdiff_t |
value |
|
) |
| |
|
inlinestatic |
Stores a value of type ' ptrdiff_t ' with transactional semantics.
- Parameters
-
addr | The destination address. |
value | The value to store at 'addr'. |
◆ store_size_t_tx()
static void store_size_t_tx |
( |
size_t * |
addr, |
|
|
size_t |
value |
|
) |
| |
|
inlinestatic |
Stores a value of type ' size_t ' with transactional semantics.
- Parameters
-
addr | The destination address. |
value | The value to store at 'addr'. |
◆ store_wchar_t_tx()
static void store_wchar_t_tx |
( |
wchar_t * |
addr, |
|
|
wchar_t |
value |
|
) |
| |
|
inlinestatic |
Stores a value of type ' wchar_t ' with transactional semantics.
- Parameters
-
addr | The destination address. |
value | The value to store at 'addr'. |