Implement TLS Callback.
* tlsmcrt.c: New file.
* tlsmthread.c: Ditto.
* tlssup.c: Ditto.
* tlsthrd.c: Ditto.
* Makefile.in: Include new files.
* crt1.c: Implement TLS Callback.
* dllcrt1.c: Ditto.
* mthr_stub.c: Remove.
14 lines
459 B
C
14 lines
459 B
C
/**
|
|
* This file has no copyright assigned and is placed in the Public Domain.
|
|
* This file is part of the w64 mingw-runtime package.
|
|
* No warranty is given; refer to the file DISCLAIMER within this package.
|
|
*
|
|
* Written by Kai Tietz <kai.tietz@onevision.com>
|
|
*/
|
|
|
|
/* We support TLS cleanup code in any case. If shared version of libgcc is used _CRT_MT has value 1,
|
|
otherwise
|
|
we do tls cleanup in runtime and _CRT_MT has value 2. */
|
|
int _CRT_MT = 2;
|
|
|