mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 10:22:41 +08:00
f0377954d7
2002-08-08 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/bits/local_lim.h (PTHREAD_THREADS_MAX): Bump to 16384. * manager.c (__pthread_handles): Remove. * pthandles.c: New file. * pthread.c (__pthread_initialize_minimal): Initialize __pthread_handles[0] and __pthread_handles[1]. * Makefile (libpthread-routines): Add pthandles (must be last).
7 lines
211 B
C
7 lines
211 B
C
#include <ldsodefs.h>
|
|
#include "pthread.h"
|
|
#include "internals.h"
|
|
|
|
/* Array of active threads. Entry 0 is reserved for the initial thread. */
|
|
struct pthread_handle_struct __pthread_handles[PTHREAD_THREADS_MAX];
|