mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-06 12:59:18 +00:00
Implemented SmartCriticalSection
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
#include <printf.h>
|
||||
#include <lock.hpp>
|
||||
|
||||
NEWLOCK(DebuggerLock);
|
||||
NewLock(DebuggerLock);
|
||||
|
||||
using namespace UniversalAsynchronousReceiverTransmitter;
|
||||
|
||||
@ -57,7 +57,7 @@ namespace SysDbg
|
||||
|
||||
void WriteLine(DebugLevel Level, const char *File, int Line, const char *Function, const char *Format, ...)
|
||||
{
|
||||
// SMARTLOCK(DebuggerLock);
|
||||
// SmartLock(DebuggerLock);
|
||||
WritePrefix(Level, File, Line, Function);
|
||||
va_list args;
|
||||
va_start(args, Format);
|
||||
|
Reference in New Issue
Block a user