Kaydet (Commit) df1f6deb authored tarafından Michael Stahl's avatar Michael Stahl

fix this C file for Microsoft Pascal compiler

Change-Id: I08086caacb7abe0c85aeb184935b3f73666e9faf
üst 27d79b12
...@@ -261,11 +261,12 @@ static DWORD GetParentProcessId() ...@@ -261,11 +261,12 @@ static DWORD GetParentProcessId()
static DWORD WINAPI ParentMonitorThreadProc( LPVOID lpParam ) static DWORD WINAPI ParentMonitorThreadProc( LPVOID lpParam )
{ {
osl_setThreadName("headless ParentMonitorThread");
DWORD_PTR dwParentProcessId = (DWORD_PTR)lpParam; DWORD_PTR dwParentProcessId = (DWORD_PTR)lpParam;
HANDLE hParentProcess = OpenProcess( SYNCHRONIZE, FALSE, dwParentProcessId ); HANDLE hParentProcess = OpenProcess( SYNCHRONIZE, FALSE, dwParentProcessId );
osl_setThreadName("headless ParentMonitorThread");
if ( IsValidHandle( hParentProcess ) ) if ( IsValidHandle( hParentProcess ) )
{ {
if ( WAIT_OBJECT_0 == WaitForSingleObject( hParentProcess, INFINITE ) ) if ( WAIT_OBJECT_0 == WaitForSingleObject( hParentProcess, INFINITE ) )
......
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