libc/mingw: threads are the native ones

There is no need to differentiate the win32 threads case, since we
can cosider them to be the native implementation on Windows.

Besides, with the previous patch, nothing uses it anymore.

So, just remove it.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc Bryan Hundven <bryanhundven@gmail.com>
This commit is contained in:
Yann E. MORIN 2014-07-28 00:15:44 +02:00
parent a394fe49ec
commit 152b7ad4b4
2 changed files with 3 additions and 12 deletions

View File

@ -32,10 +32,6 @@ config LIBC_SUPPORT_THREADS_LT
bool bool
select LIBC_SUPPORT_THREADS_ANY select LIBC_SUPPORT_THREADS_ANY
config LIBC_SUPPORT_THREADS_WIN32
bool
select LIBC_SUPPORT_THREADS_ANY
config LIBC_SUPPORT_THREADS_NONE config LIBC_SUPPORT_THREADS_NONE
bool bool
@ -53,7 +49,6 @@ choice
prompt "Threading implementation to use:" prompt "Threading implementation to use:"
default THREADS_NATIVE if LIBC_SUPPORT_THREADS_NATIVE default THREADS_NATIVE if LIBC_SUPPORT_THREADS_NATIVE
default THREADS_THREADS_LT if LIBC_SUPPORT_THREADS_LT && ! LIBC_SUPPORT_THREADS_NATIVE default THREADS_THREADS_LT if LIBC_SUPPORT_THREADS_LT && ! LIBC_SUPPORT_THREADS_NATIVE
default THREADS_WIN32 if LIBC_SUPPORT_THREADS_WIN32
default THREADS_NONE if ! LIBC_SUPPORT_THREADS_ANY default THREADS_NONE if ! LIBC_SUPPORT_THREADS_ANY
config THREADS_NATIVE config THREADS_NATIVE
@ -64,18 +59,14 @@ config THREADS_NATIVE
This selects the native threads implementation for the selected This selects the native threads implementation for the selected
system and C library. system and C library.
For example, on Linux with glibc, this is NPTL. For example, on Linux with glibc, this is NPTL; on Windows with
mingw, this is win32.
config THREADS_LT config THREADS_LT
bool bool
prompt "linuxthreads" prompt "linuxthreads"
depends on LIBC_SUPPORT_THREADS_LT depends on LIBC_SUPPORT_THREADS_LT
config THREADS_WIN32
bool
prompt "win32"
depends on LIBC_SUPPORT_THREADS_WIN32
config THREADS_NONE config THREADS_NONE
bool bool
prompt "none" prompt "none"

View File

@ -2,7 +2,7 @@
## depends on WINDOWS ## depends on WINDOWS
## ##
## select LIBC_SUPPORT_THREADS_WIN32 ## select LIBC_SUPPORT_THREADS_NATIVE
## select CC_CORE_PASSES_NEEDED ## select CC_CORE_PASSES_NEEDED
## ##
## help The de-facto standard for Mingw distributions. ## help The de-facto standard for Mingw distributions.