MingW compilation (windows). Includes various refactoring to improve portability.

llvm-svn: 189107
This commit is contained in:
Virgile Bello
2013-08-23 12:44:05 +00:00
parent fcfa0afd7a
commit b2f1fb2943
70 changed files with 1761 additions and 296 deletions

View File

@@ -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);
}