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.
This commit is contained in:
Rich Felker
2013-03-31 23:25:55 -04:00
parent ccc7b4c3a1
commit 14a835b386
3 changed files with 31 additions and 2 deletions
+2
View File
@@ -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;