Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2015-07-17 15:31:12 +0300
committerCorinna Vinschen <corinna@vinschen.de>2015-07-17 15:31:12 +0300
commit1020bb292aa0c19c487010aa1506c3d745ded6d5 (patch)
tree6d3b470e4823cf05e8577b251063500b72f49187 /winsup/doc
parent9a69aac0ed556d1141626b987bc4c0c877fdb169 (diff)
Implement getcontext, setcontext, makecontext, swapcontext
* common.din (getcontext): Export. (makecontext): Export. (setcontext): Export. (swapcontext): Export. * exceptions.cc (__unwind_single_frame): New static functions, 64 bit only. (setcontext): New function. (getcontext): New function. (swapcontext): New function. (__cont_link_context): New function. (makecontext): New function. * include/cygwin/version.h (CYGWIN_VERSION_DLL_MAJOR): Bump to 2002. (CYGWIN_VERSION_API_MINOR): Bump. * include/ucontext.h (getcontext): Add prototype. (setcontext): Ditto. (swapcontext): Ditto. (makecontext): Ditto. * ntdll.h (NtContinue): Ditto. * new-features.xml (ov-new2.2): Add new section. Document getcontext, setcontext, makecontext, swapcontext. * posix.xml (std-deprec): Add getcontext, setcontext, makecontext, swapcontext. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/doc')
-rw-r--r--winsup/doc/ChangeLog7
-rw-r--r--winsup/doc/new-features.xml12
-rw-r--r--winsup/doc/posix.xml4
3 files changed, 23 insertions, 0 deletions
diff --git a/winsup/doc/ChangeLog b/winsup/doc/ChangeLog
index b452fa906..a4c30369a 100644
--- a/winsup/doc/ChangeLog
+++ b/winsup/doc/ChangeLog
@@ -1,3 +1,10 @@
+2015-07-17 Corinna Vinschen <corinna@vinschen.de>
+
+ * new-features.xml (ov-new2.2): Add new section. Document getcontext,
+ setcontext, makecontext, swapcontext.
+ * posix.xml (std-deprec): Add getcontext, setcontext, makecontext,
+ swapcontext.
+
2015-07-05 Jon Turney <jon.turney@dronecode.org.uk>
* configure.ac: Add check for DOCBOOK2XTEXI
diff --git a/winsup/doc/new-features.xml b/winsup/doc/new-features.xml
index c52574ce4..85d6ec780 100644
--- a/winsup/doc/new-features.xml
+++ b/winsup/doc/new-features.xml
@@ -4,6 +4,18 @@
<sect1 id="ov-new"><title>What's new and what changed in Cygwin</title>
+<sect2 id="ov-new2.2"><title>What's new and what changed in 2.2</title>
+
+<itemizedlist mark="bullet">
+
+<listitem><para>
+New APIs: getcontext, setcontext, makecontext, swapcontext.
+</para></listitem>
+
+</itemizedlist>
+
+</sect2>
+
<sect2 id="ov-new2.1"><title>What's new and what changed in 2.1</title>
<itemizedlist mark="bullet">
diff --git a/winsup/doc/posix.xml b/winsup/doc/posix.xml
index 8a74f24f0..112ddc8ee 100644
--- a/winsup/doc/posix.xml
+++ b/winsup/doc/posix.xml
@@ -1322,6 +1322,7 @@ also IEEE Std 1003.1-2008 (POSIX.1-2008).</para>
fcvt (SUSv3)
ftime (SUSv3)
gcvt (SUSv3)
+ getcontext (SUSv3)
gethostbyaddr (SUSv3)
gethostbyname (SUSv3)
gethostbyname2 (first defined in BIND 4.9.4)
@@ -1333,6 +1334,7 @@ also IEEE Std 1003.1-2008 (POSIX.1-2008).</para>
getwd (SUSv3)
h_errno (SUSv3)
index (SUSv3)
+ makecontext (SUSv3)
mallinfo (SVID)
mallopt (SVID)
mktemp (SUSv3)
@@ -1347,8 +1349,10 @@ also IEEE Std 1003.1-2008 (POSIX.1-2008).</para>
putw (SVID)
rindex (SUSv3)
scalb (SUSv3)
+ setcontext (SUSv3)
setutent (XPG2)
stime (SVID)
+ swapcontext (SUSv3)
sys_errlist (BSD)
sys_nerr (BSD)
sys_siglist (BSD)