Main header file for picotm. More...
#include "picotm/config/picotm-config.h"
#include <setjmp.h>
#include <signal.h>
#include "compiler.h"
#include "picotm-error-base.h"
Macros | |
#define | picotm_begin |
#define | picotm_commit |
#define | picotm_end |
#define | picotm_safe |
Functions | |
PICOTM_NOTHROW int | picotm_error_as_errno (void) |
PICOTM_NOTHROW enum picotm_error_code | picotm_error_as_error_code (void) |
kern_return_t | picotm_error_as_kern_return_t (void) |
const siginfo_t * | picotm_error_as_siginfo_t (void) |
PICOTM_NOTHROW _Bool | picotm_error_is_non_recoverable (void) |
PICOTM_NOTHROW enum picotm_error_status | picotm_error_status () |
PICOTM_NOTHROW unsigned long | picotm_number_of_restarts (void) |
PICOTM_NOTHROW void | picotm_release (void) |
PICOTM_NOTHROW void | picotm_restart (void) |
This is the main header file for picotm. It contains the entry points for starting, committing and ending a transaction; for restarting, and for error handling.