Skip to content

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

Notifications You must be signed in to change notification settings

aajayssingh/STM_Barriers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published