config/libc.in
changeset 2017 f637b6c2162b
parent 2016 46366b11da3d
child 2034 c3967b2c49b4
     1.1 --- a/config/libc.in	Sun Jul 11 14:26:52 2010 +0200
     1.2 +++ b/config/libc.in	Sun Jul 11 21:36:20 2010 +0200
     1.3 @@ -35,10 +35,16 @@
     1.4      default n
     1.5      select LIBC_SUPPORT_THREADS_ANY
     1.6  
     1.7 +config LIBC_SUPPORT_WIN32THREADS
     1.8 +    bool
     1.9 +    default n
    1.10 +    select LIBC_SUPPORT_THREADS_ANY
    1.11 +
    1.12  config THREADS
    1.13      string
    1.14      default "nptl"          if THREADS_NPTL
    1.15      default "linuxthreads"  if THREADS_LINUXTHREADS
    1.16 +    default "win32"         if THREADS_WIN32THREADS
    1.17      default "none"          if THREADS_NONE || LIBC_none
    1.18  #                              No C library, no threads!
    1.19  
    1.20 @@ -51,6 +57,7 @@
    1.21      prompt "Threading implementation to use:"
    1.22      default THREADS_NPTL           if LIBC_SUPPORT_NPTL
    1.23      default THREADS_LINUXTHREADS   if LIBC_SUPPORT_LINUXTHREADS && ! LIBC_SUPPORT_NPTL
    1.24 +    default THREADS_WIN32          if LIBC_SUPPORT_WIN32THREADS
    1.25      default THREADS_NONE           if ! LIBC_SUPPORT_THREADS_ANY
    1.26  
    1.27  config THREADS_NPTL
    1.28 @@ -63,6 +70,11 @@
    1.29      prompt "linuxthreads"
    1.30      depends on LIBC_SUPPORT_LINUXTHREADS
    1.31  
    1.32 +config THREADS_WIN32THREADS
    1.33 +    bool
    1.34 +    prompt "win32"
    1.35 +    depends on LIBC_SUPPORT_WIN32THREADS
    1.36 +
    1.37  config THREADS_NONE
    1.38      bool
    1.39      prompt "none"