|
tlds
Transactional Operations for Linked Data Structures
|
#include <barrier.hpp>
Public Member Functions | |
| void | wait (string s) |
| barrier (int n) | |
| ~barrier () | |
Public Attributes | |
| pthread_cond_t | complete |
| int | crossing |
Private Attributes | |
| int | participants |
| int | parity |
| pthread_mutex_t | mutex |
| int | count [2] |
| pthread_cond_t | sem [2] |
|
inline |
|
inline |
|
inline |
| pthread_cond_t barrier::complete |
|
private |
| int barrier::crossing |
|
private |
|
private |
|
private |
|
private |