mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-09 16:07:06 -06:00
ms vc compat...
This commit is contained in:
@@ -52,10 +52,12 @@ pthread_create(pthread_t * thread, const void *unused,
|
||||
|
||||
int _pthread_join(pthread_t * thread, void **value_ptr)
|
||||
{
|
||||
DWORD result;
|
||||
|
||||
if (!thread->handle)
|
||||
return 0;
|
||||
|
||||
DWORD result = WaitForSingleObject(thread->handle, INFINITE);
|
||||
result = WaitForSingleObject(thread->handle, INFINITE);
|
||||
switch (result) {
|
||||
case WAIT_OBJECT_0:
|
||||
if (value_ptr)
|
||||
|
||||
Reference in New Issue
Block a user