Commit 361943aa authored by Alexandre Julliard's avatar Alexandre Julliard

Implemented RtlAcquirePebLock and RtlReleasePebLock.

parent 158e2cb6
......@@ -22,6 +22,8 @@
DEFAULT_DEBUG_CHANNEL(ntdll);
static RTL_CRITICAL_SECTION peb_lock = CRITICAL_SECTION_INIT;
/*
* resource functions
*/
......@@ -293,17 +295,17 @@ void WINAPIV DbgPrint(LPCSTR fmt, ...)
/******************************************************************************
* RtlAcquirePebLock [NTDLL]
*/
VOID WINAPI RtlAcquirePebLock(void) {
FIXME("()\n");
/* enter critical section ? */
VOID WINAPI RtlAcquirePebLock(void)
{
RtlEnterCriticalSection( &peb_lock );
}
/******************************************************************************
* RtlReleasePebLock [NTDLL]
*/
VOID WINAPI RtlReleasePebLock(void) {
FIXME("()\n");
/* leave critical section ? */
VOID WINAPI RtlReleasePebLock(void)
{
RtlLeaveCriticalSection( &peb_lock );
}
/******************************************************************************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment