Skip to content
Snippets Groups Projects
Commit 361943aa authored by Alexandre Julliard's avatar Alexandre Julliard
Browse files

Implemented RtlAcquirePebLock and RtlReleasePebLock.

parent 158e2cb6
No related branches found
No related tags found
No related merge requests found
......@@ -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 );
}
/******************************************************************************
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment