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>
2015-07-17 20:31:12 +08:00
|
|
|
What's new:
|
|
|
|
-----------
|
|
|
|
|
|
|
|
- New APIs: getcontext, setcontext, makecontext, swapcontext.
|
|
|
|
|
2015-07-21 23:31:02 +08:00
|
|
|
- New functions: sigsetjmp, siglongjmp.
|
|
|
|
These were only available as macros up to now, but POSIX requires that
|
|
|
|
siglongjmp has to be available as function.
|
|
|
|
|
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>
2015-07-17 20:31:12 +08:00
|
|
|
|
|
|
|
What changed:
|
|
|
|
-------------
|
|
|
|
|
2015-07-23 23:42:07 +08:00
|
|
|
- When started from a non-Cygwin process, check if $HOME starts with a
|
|
|
|
slash (absolute POSIX path). Otherwise ignore it.
|
2015-07-24 03:19:43 +08:00
|
|
|
Addresses: https://cygwin.com/ml/cygwin/2015-07/msg00344.html
|
2015-07-23 23:42:07 +08:00
|
|
|
|
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>
2015-07-17 20:31:12 +08:00
|
|
|
|
|
|
|
Bug Fixes
|
|
|
|
---------
|
|
|
|
|
2015-07-21 00:43:16 +08:00
|
|
|
- Fix potential hang running ldd(1).
|
|
|
|
Addresses: https://cygwin.com/ml/cygwin/2015-07/msg00292.html
|
2015-07-29 19:32:29 +08:00
|
|
|
|
|
|
|
- Fix crashes under AllocationPreference=0x100000 condition
|
|
|
|
Addresses: https://cygwin.com/ml/cygwin/2015-02/msg00765.html
|