4 * Implement Mingw thread-support stubs for single-threaded C++ apps.
6 * This file is used by if gcc is built with --enable-threads=win32 and
7 * iff gcc does *NOT* use -mthreads option.
9 * The -mthreads implementation is in mthr.c.
11 * Created by Mumit Khan <khan@nanotech.wisc.edu>
15 #define WIN32_LEAN_AND_MEAN
17 #undef WIN32_LEAN_AND_MEAN
20 * __mingwthr_register_key_dtor (DWORD key, void (*dtor) (void *))
22 * Public interface called by C++ exception handling mechanism in
23 * libgcc (cf: __gthread_key_create).
28 __mingwthr_key_dtor (DWORD key, void (*dtor) (void *))
31 printf ("%s: ignoring key: (%ld) / dtor: (%x)\n",
32 __FUNCTION__, key, dtor);
38 __mingwthr_remove_key_dtor (DWORD key )
41 printf ("%s: ignoring key: (%ld)\n", __FUNCTION__, key );