summaryrefslogtreecommitdiff
path: root/win32_threads.c
diff options
context:
space:
mode:
authorivmai <ivmai>2010-07-13 11:44:01 +0200
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 19:06:54 +0200
commitd9f77cc8207154459a6ca71e3e6ca3f97696e31d (patch)
treed398dc37ef5da8e9d4fd3c1e5ae1f77b68be1393 /win32_threads.c
parent10c470bd6443d40dbc963e0543f80788e4293dce (diff)
2010-07-13 Ivan Maidanski <ivmai@mail.ru>
* gc_dlopen.c (disable_gc_for_dlopen): Update the comment. * gc_dlopen.c (dlopen): Ditto. * include/gc.h: Update copyright header. * include/gc.h (GC_enable_incremental): Refine the comment. * include/gc.h (DECLSPEC_NORETURN): Define macro as empty if missing (only for Win32). * include/gc.h (GC_ExitThread): Use DECLSPEC_NORETURN. * win32_threads.c (GC_ExitThread): Ditto. * include/gc.h (GC_endthreadex): Add a comment.
Diffstat (limited to 'win32_threads.c')
-rw-r--r--win32_threads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32_threads.c b/win32_threads.c
index 7ad84db..f3a4830 100644
--- a/win32_threads.c
+++ b/win32_threads.c
@@ -2052,7 +2052,7 @@ GC_INNER void GC_get_next_stack(char *start, char *limit,
}
}
- GC_API void WINAPI GC_ExitThread(DWORD dwExitCode)
+ GC_API DECLSPEC_NORETURN void WINAPI GC_ExitThread(DWORD dwExitCode)
{
GC_unregister_my_thread();
ExitThread(dwExitCode);