[Openmp-commits] [PATCH] D137776: [openmp] [test] Set the right calling convention for the Windows thread start function
Martin Storsjö via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Fri Nov 11 03:56:07 PST 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rG29ef16c29f4c: [openmp] [test] Set the right calling convention for the Windows thread start… (authored by mstorsjo).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D137776/new/
https://reviews.llvm.org/D137776
Files:
openmp/runtime/test/omp_testsuite.h
Index: openmp/runtime/test/omp_testsuite.h
===================================================================
--- openmp/runtime/test/omp_testsuite.h
+++ openmp/runtime/test/omp_testsuite.h
@@ -86,7 +86,7 @@
};
// call the void* start_routine(void*);
-static DWORD __thread_func_wrapper(LPVOID lpParameter) {
+static DWORD WINAPI __thread_func_wrapper(LPVOID lpParameter) {
struct thread_func_info_t* function_information;
function_information = (struct thread_func_info_t*)lpParameter;
function_information->start_routine(function_information->arg);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137776.474721.patch
Type: text/x-patch
Size: 565 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20221111/a24c21b2/attachment.bin>
More information about the Openmp-commits
mailing list