picotm  0.4.0
Functions
stdlib-tm.h File Reference

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

#include <picotm/compiler.h>
#include <stdlib.h>
Include dependency graph for stdlib-tm.h:

Functions

PICOTM_NOTHROW void free_tm (void *ptr)
 
PICOTM_EXPORT char * mkdtemp_tm (char *template)
 
PICOTM_EXPORT int mkstemp_tm (char *template)
 
PICOTM_NOTHROW int posix_memalign_tm (void **memptr, size_t alignment, size_t size)
 
PICOTM_NOTHROW void qsort_tm (void *base, size_t nel, size_t width, int(*compar)(const void *, const void *))
 
PICOTM_NOTHROW void * realloc_tm (void *ptr, size_t size)
 
PICOTM_NOTHROW int rand_r_tm (unsigned int *seed)
 

Function Documentation

◆ free_tm()

PICOTM_NOTHROW void free_tm ( void *  ptr)

Variant of free_tx() that operates on transactional memory.

◆ mkdtemp_tm()

PICOTM_EXPORT char* mkdtemp_tm ( char *  template)

Variant of mkdtemp_tx() that operates on transactional memory.

◆ mkstemp_tm()

PICOTM_EXPORT int mkstemp_tm ( char *  template)

Variant of mkstemp_tx() that operates on transactional memory.

◆ posix_memalign_tm()

PICOTM_NOTHROW int posix_memalign_tm ( void **  memptr,
size_t  alignment,
size_t  size 
)

Variant of posix_memalign_tx() that operates on transactional memory.

◆ qsort_tm()

PICOTM_NOTHROW void qsort_tm ( void *  base,
size_t  nel,
size_t  width,
int(*)(const void *, const void *)  compar 
)

Variant of qsort_tx() that operates on transactional memory.

◆ rand_r_tm()

PICOTM_NOTHROW int rand_r_tm ( unsigned int *  seed)

Variant of rand_r_tx() that operates on transactional memory.

◆ realloc_tm()

PICOTM_NOTHROW void* realloc_tm ( void *  ptr,
size_t  size 
)

Variant of realloc_tx() that operates on transactional memory.