diff options
author | Yaakov Selkowitz <yselkowi@redhat.com> | 2011-05-03 01:13:37 +0000 |
---|---|---|
committer | Yaakov Selkowitz <yselkowi@redhat.com> | 2011-05-03 01:13:37 +0000 |
commit | 705a187ee9133ead7a3bd2e50559ee52ad3b58ed (patch) | |
tree | fced925ac1c5206dbd2b59c1a5f5b8e6191c78eb /winsup/cygwin/cygwin.din | |
parent | 1e92c34ee428615805d4add2ac7795f65d859414 (diff) | |
download | newlib-705a187ee9133ead7a3bd2e50559ee52ad3b58ed.zip newlib-705a187ee9133ead7a3bd2e50559ee52ad3b58ed.tar.gz newlib-705a187ee9133ead7a3bd2e50559ee52ad3b58ed.tar.bz2 |
* 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 'winsup/cygwin/cygwin.din')
-rw-r--r-- | winsup/cygwin/cygwin.din | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/winsup/cygwin/cygwin.din b/winsup/cygwin/cygwin.din index 823776d..31f0004 100644 --- a/winsup/cygwin/cygwin.din +++ b/winsup/cygwin/cygwin.din @@ -1174,6 +1174,8 @@ pthread_attr_getinheritsched SIGFE pthread_attr_getschedparam SIGFE pthread_attr_getschedpolicy SIGFE pthread_attr_getscope SIGFE +pthread_attr_getstack SIGFE +pthread_attr_getstackaddr SIGFE pthread_attr_getstacksize SIGFE pthread_attr_init SIGFE pthread_attr_setdetachstate SIGFE @@ -1200,6 +1202,7 @@ pthread_create SIGFE pthread_detach SIGFE pthread_equal SIGFE pthread_exit SIGFE +pthread_getattr_np SIGFE pthread_getconcurrency SIGFE pthread_getschedparam SIGFE pthread_getsequence_np SIGFE |