lxhq / BRAVO

Biased Locking for Reader-Writer Locks
5 stars 1 forks source link

BRAVO

Biased Locking for Reader-Writer Locks

This is a test for BRAVO and pfq rwlock

To run this program, first make then run the run.sh

There are 3 input arguments for the main program.

The first one is to decide whether use BRAVO lock or pfq lock(BRAVO for BRAVO lock pfq for pfq lock)

The second and third one is to decide how many read and write threads are there(for example, 64 1: means 64 read threads and 1 write threads)