Fixed thread related changes:
* Fixed typo * Fixed wrong #ifdef
This commit is contained in:
parent
0ccebb2a0f
commit
b05eb8d834
@ -42,7 +42,7 @@ option(WITH_VERBOSE_WINPR_ASSERT "Compile with verbose WINPR_ASSERT." ON)
|
||||
option(WITH_WINPR_TOOLS "Build WinPR helper binaries" ON)
|
||||
option(WITH_WINPR_DEPRECATED "Build WinPR deprecated symbols" OFF)
|
||||
option(WITH_DEBUG_THREADS "Print thread debug messages, enables handle dump" ${DEFAULT_DEBUG_OPTION})
|
||||
option(WITH_DEBUG_EVENTS "Print devent debug messages, enables handle dump" ${DEFAULT_DEBUG_OPTION})
|
||||
option(WITH_DEBUG_EVENTS "Print event debug messages, enables handle dump" ${DEFAULT_DEBUG_OPTION})
|
||||
option(WITH_DEBUG_SYMBOLS "Pack debug symbols to installer" OFF)
|
||||
option(WITH_NATIVE_SSPI "Use native SSPI modules" ${NATIVE_SSPI})
|
||||
option(WITH_SMARTCARD_INSPECT "Enable SmartCard API Inspector" OFF)
|
||||
|
@ -593,7 +593,7 @@ HANDLE CreateRemoteThread(HANDLE hProcess, LPSECURITY_ATTRIBUTES lpThreadAttribu
|
||||
|
||||
VOID ExitThread(DWORD dwExitCode)
|
||||
{
|
||||
#if 0
|
||||
#if defined(WITH_THREAD_LIST)
|
||||
DWORD rc;
|
||||
pthread_t tid = pthread_self();
|
||||
|
||||
@ -633,6 +633,8 @@ VOID ExitThread(DWORD dwExitCode)
|
||||
|
||||
pthread_exit((void*)(size_t)rc);
|
||||
}
|
||||
#else
|
||||
WINPR_UNUSED(dwExitCode);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user