1 |
/* Internal defenitions for pthreads library. |
/* Internal defenitions for pthreads library. |
2 |
Copyright (C) 2000 Free Software Foundation, Inc. |
Copyright (C) 2000, 2004 Free Software Foundation, Inc. |
3 |
This file is part of the GNU C Library. |
This file is part of the GNU C Library. |
4 |
|
|
5 |
The GNU C Library is free software; you can redistribute it and/or |
The GNU C Library is free software; you can redistribute it and/or |
27 |
#include <signal.h> |
#include <signal.h> |
28 |
#include <assert.h> |
#include <assert.h> |
29 |
#endif |
#endif |
30 |
#include <bits/atomic.h> |
#include <atomic.h> |
31 |
|
|
32 |
#include <pt-key.h> |
#include <pt-key.h> |
33 |
|
|
126 |
element = element->next) |
element = element->next) |
127 |
|
|
128 |
/* The total number of threads currently active. */ |
/* The total number of threads currently active. */ |
129 |
extern __atomic_t __pthread_total; |
extern uatomic_max_t __pthread_total; |
130 |
|
|
131 |
/* The total number of thread IDs currently in use, or on the list of |
/* The total number of thread IDs currently in use, or on the list of |
132 |
available thread IDs. */ |
available thread IDs. */ |