summaryrefslogtreecommitdiffstats
path: root/newlib/libc/sys/linux/linuxthreads/specific.c
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2011-05-03 01:13:37 +0000
committerYaakov Selkowitz <yselkowi@redhat.com>2011-05-03 01:13:37 +0000
commit705a187ee9133ead7a3bd2e50559ee52ad3b58ed (patch)
treefced925ac1c5206dbd2b59c1a5f5b8e6191c78eb /newlib/libc/sys/linux/linuxthreads/specific.c
parent1e92c34ee428615805d4add2ac7795f65d859414 (diff)
downloadcygnal-705a187ee9133ead7a3bd2e50559ee52ad3b58ed.tar.gz
cygnal-705a187ee9133ead7a3bd2e50559ee52ad3b58ed.tar.bz2
cygnal-705a187ee9133ead7a3bd2e50559ee52ad3b58ed.zip
* cygwin.din (pthread_attr_getstack): Export.
(pthread_attr_getstackaddr): Export. (pthread_getattr_np): Export. * ntdll.h (enum _THREAD_INFORMATION_CLASS): Add ThreadBasicInformation. (struct _THREAD_BASIC_INFORMATION): Define. (NtQueryInformationThread): Declare. * posix.sgml (std-susv4): Add pthread_attr_getstack. (std-gnu): Add pthread_getattr_np. (std-deprec): Add pthread_attr_getstackaddr. (std-notimpl): Remove pthread_attr_[gs]etstackaddr, as they were removed from SUSv4. * thread.cc (pthread_attr::pthread_attr): Initialize stackaddr. (pthread_attr_getstack): New function. (pthread_attr_getstackaddr): New function. (pthread_attr_setstacksize): Return EINVAL if passed size less than PTHREAD_STACK_MIN, as required by POSIX. (pthread_getattr_np): New function. * thread.h (class pthread_attr): Add stackaddr member. * include/pthread.h (pthread_attr_getstack): Declare. (pthread_attr_getstackaddr): Declare unconditionally. (pthread_attr_setstack): Declare inside false conditional for reference. (pthread_getattr_np): Declare. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
Diffstat (limited to 'newlib/libc/sys/linux/linuxthreads/specific.c')
0 files changed, 0 insertions, 0 deletions