Skip to content

An implementation of "Solution of a Problem in Concurrent Programming Control" by cpp

Notifications You must be signed in to change notification settings

snowcrumble/dijkstra-mutex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Dijkstra互斥算法实现

用C++实现的Solution of a Problem in Concurrent Programming Control算法

环境要求

Linux

编译

make

需要在Linux下运行

# 单核
taskset -c 1 ./lock

# 多核, 由于多核缓存不一致,存在冲突,需要利用atomic保护
taskset -c 1,2,3 ./lock

About

An implementation of "Solution of a Problem in Concurrent Programming Control" by cpp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published