picotm  0.9.0
The POSIX Threads module.

Covers the POSIX Threads interface. More...


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

Detailed Description

There's currently only minimal support for POSIX threads. Most of the POSIX threads interface's functionality requires irrevocability and is probably not useful for transactional code.

There are currently two supported interface. Call pthread_self_tx() to get a reference to the thread's structure, and use pthread_equal_tx() to compare thread structure with each other.