diff options
| author | Mikhail Romanko <me@blankhex.com> | 2025-09-07 09:32:07 +0300 |
|---|---|---|
| committer | Mikhail Romanko <me@blankhex.com> | 2025-09-07 09:32:07 +0300 |
| commit | ec830671843264867a5ce9ba38ab446995657537 (patch) | |
| tree | f7afa3e7db11f664300089c4e3aefa284a99195e /src/Platform/Win32/Thread.c | |
| parent | 8d18e8020cba60c0b600c69c709ef1a63833a178 (diff) | |
| download | bhlib-ec830671843264867a5ce9ba38ab446995657537.tar.gz | |
Fix Win32 _beginthreadex call
Diffstat (limited to 'src/Platform/Win32/Thread.c')
| -rw-r--r-- | src/Platform/Win32/Thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Platform/Win32/Thread.c b/src/Platform/Win32/Thread.c index f256d87..88b8906 100644 --- a/src/Platform/Win32/Thread.c +++ b/src/Platform/Win32/Thread.c @@ -40,7 +40,7 @@ static int threadInit(BH_Thread *thread, context->callback = callback; context->data = data; - thread->handle = (HANDLE)_beginthreadex(NULL, stack, BH_ThreadRun, context, 0, NULL); + thread->handle = (HANDLE)_beginthreadex(NULL, stack, threadRun, context, 0, NULL); if (!thread->handle) { free(context); |
