mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
ntdll: Move the PEB lock Rtl functions to env.c.
This commit is contained in:
parent
30816b0ca0
commit
b563ff18ce
2 changed files with 16 additions and 16 deletions
|
@ -106,6 +106,22 @@ static void set_wow64_environment( WCHAR **env )
|
|||
}
|
||||
|
||||
|
||||
/******************************************************************************
|
||||
* RtlAcquirePebLock [NTDLL.@]
|
||||
*/
|
||||
void WINAPI RtlAcquirePebLock(void)
|
||||
{
|
||||
RtlEnterCriticalSection( NtCurrentTeb()->Peb->FastPebLock );
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
* RtlReleasePebLock [NTDLL.@]
|
||||
*/
|
||||
void WINAPI RtlReleasePebLock(void)
|
||||
{
|
||||
RtlLeaveCriticalSection( NtCurrentTeb()->Peb->FastPebLock );
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
* RtlCreateEnvironment [NTDLL.@]
|
||||
*/
|
||||
|
|
|
@ -183,22 +183,6 @@ NTSTATUS WINAPI vDbgPrintExWithPrefix( LPCSTR prefix, ULONG id, ULONG level, LPC
|
|||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
* RtlAcquirePebLock [NTDLL.@]
|
||||
*/
|
||||
VOID WINAPI RtlAcquirePebLock(void)
|
||||
{
|
||||
RtlEnterCriticalSection( NtCurrentTeb()->Peb->FastPebLock );
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
* RtlReleasePebLock [NTDLL.@]
|
||||
*/
|
||||
VOID WINAPI RtlReleasePebLock(void)
|
||||
{
|
||||
RtlLeaveCriticalSection( NtCurrentTeb()->Peb->FastPebLock );
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
* RtlInitializeGenericTable [NTDLL.@]
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue