diff options
author | Rich Felker <dalias@aerifal.cx> | 2013-03-31 23:25:55 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2013-03-31 23:25:55 -0400 |
commit | 14a835b3868e4dccece15acbff6d5da6c0e1ff17 (patch) | |
tree | 38dc322f8c4465d39c467009824d525e0712af56 /src/internal | |
parent | ccc7b4c3a17ade90de71e1e0f44deebbffd646e6 (diff) | |
download | musl-14a835b3868e4dccece15acbff6d5da6c0e1ff17.tar.gz musl-14a835b3868e4dccece15acbff6d5da6c0e1ff17.tar.bz2 musl-14a835b3868e4dccece15acbff6d5da6c0e1ff17.tar.xz musl-14a835b3868e4dccece15acbff6d5da6c0e1ff17.zip |
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.
Diffstat (limited to 'src/internal')
-rw-r--r-- | src/internal/pthread_impl.h | 2 |
1 files changed, 2 insertions, 0 deletions
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; |