From d790bc347dce29327b69260b5323d87d4fb7e936 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 25 Sep 1999 17:11:06 +0000 Subject: Update. * manager.c (__linuxthreads_pthread_threads_max): New variable. * specific.c (__linuxthreads_pthread_keys_max): New variable. 1999-09-23 Ulrich Drepper * specific.c: Move definitions of struct pthread_key_struct and destr_function to ... * internals.h: ...here. --- linuxthreads/internals.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'linuxthreads/internals.h') 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 } } -- cgit 1.4.1