Fix to the hashtable for misisng mod of hashsize
Addition of multiple reader/single writer locking mechanism
This commit is contained in:
@ -31,7 +31,7 @@
|
||||
#include <thread.h>
|
||||
|
||||
typedef struct spinlock {
|
||||
int lock;
|
||||
volatile int lock;
|
||||
#if DEBUG
|
||||
int spins;
|
||||
int acquired;
|
||||
|
Reference in New Issue
Block a user