diff options
author | Yaakov Selkowitz <yselkowi@redhat.com> | 2011-05-03 05:13:37 +0400 |
---|---|---|
committer | Yaakov Selkowitz <yselkowi@redhat.com> | 2011-05-03 05:13:37 +0400 |
commit | 705a187ee9133ead7a3bd2e50559ee52ad3b58ed (patch) | |
tree | fced925ac1c5206dbd2b59c1a5f5b8e6191c78eb /winsup/cygwin/posix.sgml | |
parent | 1e92c34ee428615805d4add2ac7795f65d859414 (diff) |
* 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/posix.sgml')
-rw-r--r-- | winsup/cygwin/posix.sgml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/posix.sgml b/winsup/cygwin/posix.sgml index 47cbcab6f..67d958b97 100644 --- a/winsup/cygwin/posix.sgml +++ b/winsup/cygwin/posix.sgml @@ -534,6 +534,7 @@ also IEEE Std 1003.1-2008 (POSIX.1-2008).</para> pthread_attr_getschedparam pthread_attr_getschedpolicy pthread_attr_getscope + pthread_attr_getstack pthread_attr_getstacksize pthread_attr_init pthread_attr_setdetachstate @@ -1117,6 +1118,7 @@ also IEEE Std 1003.1-2008 (POSIX.1-2008).</para> pow10 pow10f ppoll + pthread_getattr_np removexattr setxattr strchrnul @@ -1230,6 +1232,7 @@ also IEEE Std 1003.1-2008 (POSIX.1-2008).</para> mallopt (SVID) mktemp (SUSv3) on_exit (SunOS) + pthread_attr_getstackaddr (SUSv3) pthread_continue (XPG2) pthread_getsequence_np (Tru64) pthread_suspend (XPG2) @@ -1375,11 +1378,8 @@ also IEEE Std 1003.1-2008 (POSIX.1-2008).</para> psiginfo psignal pthread_attr_getguardsize - pthread_attr_getstack - pthread_attr_getstackaddr pthread_attr_setguardsize pthread_attr_setstack - pthread_attr_setstackaddr pthread_barrier[...] pthread_condattr_getclock pthread_condattr_setclock |