Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

STM_Barriers

The repo contains software transactional memory based barriers for synchronizing threads.

compile > g++ -std=c++14 -g main.cpp txBarrier.cpp -o test -ltbb -lpthread

The output is verbose as it prints logs. They can be set off by setting DEBUG_LOGS to 0 in txBarrier.h. The transactions in barrier keep retrying untill they succed. Hence some times it takes lot of time to exit the barrier.

About

The repo contains software transactional memory based barriers for synchronizing threads.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages