MSYS test (#852)
* MSYS test using new cmocka msys package * Update .appveyor.yml * temp package install before real ones get uploaded to db * Update .appveyor.yml * Update .appveyor.yml * Update .appveyor.yml * Update Makefile * Update test_x86_shl_enter_leave.c * Update Makefile * Update threaded_emu_start.c * Update .appveyor.yml * remove unused install
This commit is contained in:
committed by
Nguyen Anh Quynh
parent
821245e766
commit
7f116846c0
@@ -181,14 +181,14 @@ int main(int argc, char **argv, char **envp)
|
||||
th = (HANDLE)_beginthreadex(NULL, 0, win32_emu_starter, &starter_params, CREATE_SUSPENDED, NULL);
|
||||
if(th == (HANDLE)-1)
|
||||
{
|
||||
printf("Failed on _beginthreadex() with error returned: %u\n", _errno());
|
||||
printf("Failed on _beginthreadex() with error returned: %p\n", _errno());
|
||||
return -1;
|
||||
}
|
||||
// start thread
|
||||
ret = ResumeThread(th);
|
||||
if( ret == -1 )
|
||||
{
|
||||
printf("Failed on ResumeThread() with error returned: %u\n", _errno());
|
||||
printf("Failed on ResumeThread() with error returned: %p\n", _errno());
|
||||
return -2;
|
||||
}
|
||||
// wait 3 seconds
|
||||
|
||||
Reference in New Issue
Block a user