Fix to the hashtable for misisng mod of hashsize

Addition of multiple reader/single writer locking mechanism
This commit is contained in:
Mark Riddoch
2013-06-24 13:09:11 +02:00
parent 69de408d8a
commit aeda47c69d
5 changed files with 156 additions and 8 deletions

View File

@ -31,7 +31,7 @@
#include <thread.h>
typedef struct spinlock {
int lock;
volatile int lock;
#if DEBUG
int spins;
int acquired;