]> sourceware.org Git - newlib-cygwin.git/commit
* cygwin.din (pthread_attr_getstack): Export.
authorYaakov Selkowitz <yselkowi@redhat.com>
Tue, 3 May 2011 01:13:37 +0000 (01:13 +0000)
committerYaakov Selkowitz <yselkowi@redhat.com>
Tue, 3 May 2011 01:13:37 +0000 (01:13 +0000)
commit705a187ee9133ead7a3bd2e50559ee52ad3b58ed
treefced925ac1c5206dbd2b59c1a5f5b8e6191c78eb
parent1e92c34ee428615805d4add2ac7795f65d859414
* 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.
winsup/cygwin/ChangeLog
winsup/cygwin/cygwin.din
winsup/cygwin/include/cygwin/version.h
winsup/cygwin/include/pthread.h
winsup/cygwin/ntdll.h
winsup/cygwin/posix.sgml
winsup/cygwin/thread.cc
winsup/cygwin/thread.h
This page took 0.036545 seconds and 5 git commands to generate.