about summary refs log tree commit diff
path: root/linuxthreads/internals.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-09-25 17:11:06 +0000
committerUlrich Drepper <drepper@redhat.com>1999-09-25 17:11:06 +0000
commitd790bc347dce29327b69260b5323d87d4fb7e936 (patch)
tree0af0325ca401d16552f9dbf6bd13f0d73bf57825 /linuxthreads/internals.h
parent079c00e64c9f6aafcd816790d49cb144d00a6a18 (diff)
downloadglibc-d790bc347dce29327b69260b5323d87d4fb7e936.tar.gz
glibc-d790bc347dce29327b69260b5323d87d4fb7e936.tar.xz
glibc-d790bc347dce29327b69260b5323d87d4fb7e936.zip
Update.
	* manager.c (__linuxthreads_pthread_threads_max): New variable.
	* specific.c (__linuxthreads_pthread_keys_max): New variable.

1999-09-23  Ulrich Drepper  <drepper@cygnus.com>

	* specific.c: Move definitions of struct pthread_key_struct and
	destr_function to ...
	* internals.h: ...here.
Diffstat (limited to 'linuxthreads/internals.h')
-rw-r--r--linuxthreads/internals.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/linuxthreads/internals.h b/linuxthreads/internals.h
index 032e0863f8..34297fe752 100644
--- a/linuxthreads/internals.h
+++ b/linuxthreads/internals.h
@@ -63,6 +63,13 @@ struct pthread_start_args {
   ((PTHREAD_KEYS_MAX + PTHREAD_KEY_2NDLEVEL_SIZE - 1) \
    / PTHREAD_KEY_2NDLEVEL_SIZE)
 
+typedef void (*destr_function)(void *);
+
+struct pthread_key_struct {
+  int in_use;                   /* already allocated? */
+  destr_function destr;         /* destruction routine */
+};
+
 
 #define PTHREAD_START_ARGS_INITIALIZER { NULL, NULL, {{0, }}, 0, { 0 } }