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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user