mirror of
https://github.com/intel/llvm.git
synced 2026-01-17 14:48:27 +08:00
MingW compilation (windows). Includes various refactoring to improve portability.
llvm-svn: 189107
This commit is contained in:
@@ -42,7 +42,7 @@ lldb::thread_t
|
||||
SBHostOS::ThreadCreate
|
||||
(
|
||||
const char *name,
|
||||
void *(*thread_function)(void *),
|
||||
thread_func_t thread_function,
|
||||
void *thread_arg,
|
||||
SBError *error_ptr
|
||||
)
|
||||
@@ -77,7 +77,7 @@ SBHostOS::ThreadDetach (lldb::thread_t thread, SBError *error_ptr)
|
||||
}
|
||||
|
||||
bool
|
||||
SBHostOS::ThreadJoin (lldb::thread_t thread, void **result, SBError *error_ptr)
|
||||
SBHostOS::ThreadJoin (lldb::thread_t thread, thread_result_t *result, SBError *error_ptr)
|
||||
{
|
||||
return Host::ThreadJoin (thread, result, error_ptr ? error_ptr->get() : NULL);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user