picotm  0.4.0
Functions
pthread.h File Reference

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

#include <picotm/compiler.h>
#include <picotm/picotm-tm.h>
#include <pthread.h>
Include dependency graph for pthread.h:
This graph shows which files directly or indirectly include this file:

Functions

PICOTM_NOTHROW int pthread_equal_tx (pthread_t t1, pthread_t t2)
 
PICOTM_NOTHROW pthread_t pthread_self_tx (void)
 

Function Documentation

◆ pthread_equal_tx()

PICOTM_NOTHROW int pthread_equal_tx ( pthread_t  t1,
pthread_t  t2 
)

A transaction-safe implementation of pthread_equal().

◆ pthread_self_tx()

PICOTM_NOTHROW pthread_t pthread_self_tx ( void  )

A transaction-safe implementation of pthread_self().