mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-11 07:19:20 +00:00
Better lock
This commit is contained in:
@ -23,10 +23,12 @@ class LockClass
|
||||
uint64_t Count = 0;
|
||||
long Core = 0;
|
||||
};
|
||||
void DeadLock(SpinLockData Lock);
|
||||
|
||||
private:
|
||||
SpinLockData LockData;
|
||||
// bool IsLocked = false;
|
||||
bool IsLocked = false;
|
||||
unsigned long DeadLocks = 0;
|
||||
|
||||
public:
|
||||
SpinLockData *GetLockData() { return &LockData; }
|
||||
|
Reference in New Issue
Block a user