From 14a835b3868e4dccece15acbff6d5da6c0e1ff17 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sun, 31 Mar 2013 23:25:55 -0400 Subject: implement pthread_getattr_np this function is mainly (purely?) for obtaining stack address information, but we also provide the detach state since it's easy to do anyway. --- src/internal/pthread_impl.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/internal') diff --git a/src/internal/pthread_impl.h b/src/internal/pthread_impl.h index 2086048d..78b69cde 100644 --- a/src/internal/pthread_impl.h +++ b/src/internal/pthread_impl.h @@ -23,6 +23,8 @@ struct pthread { int detached; unsigned char *map_base; size_t map_size; + void *stack; + size_t stack_size; void *start_arg; void *(*start)(void *); void *result; -- cgit 1.4.1