* Renamed sem_spinlock to sSemsSpinlock.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26732 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -107,9 +107,9 @@ static bool sSemsActive = false;
|
||||
static struct sem_entry *sFreeSemsHead = NULL;
|
||||
static struct sem_entry *sFreeSemsTail = NULL;
|
||||
|
||||
static spinlock sem_spinlock = B_SPINLOCK_INITIALIZER;
|
||||
#define GRAB_SEM_LIST_LOCK() acquire_spinlock(&sem_spinlock)
|
||||
#define RELEASE_SEM_LIST_LOCK() release_spinlock(&sem_spinlock)
|
||||
static spinlock sSemsSpinlock = B_SPINLOCK_INITIALIZER;
|
||||
#define GRAB_SEM_LIST_LOCK() acquire_spinlock(&sSemsSpinlock)
|
||||
#define RELEASE_SEM_LIST_LOCK() release_spinlock(&sSemsSpinlock)
|
||||
#define GRAB_SEM_LOCK(s) acquire_spinlock(&(s).lock)
|
||||
#define RELEASE_SEM_LOCK(s) release_spinlock(&(s).lock)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user