2
0
mirror of https://github.com/boostorg/context.git synced 2026-01-19 16:12:17 +00:00

183 Commits

Author SHA1 Message Date
Dirk Stolle
1775cebd4f Fix several typos 2025-05-01 23:26:37 +02:00
Peter Kokot
a62f6a978f Trim redundant trailing whitespace 2024-09-06 05:58:56 +02:00
Oliver Kowalke
d811245d08 update documentation 2024-03-10 20:20:54 +01:00
PeterYang12
3484575878 Add shadow stack support for fcontext
Shadow stack is part of Intel's Control-Flow Enforcement Technology.

    Whenever a function is called, the return address is pushed onto both
    the regular stack and the shadow stack. When that function returns, the
    return addresses are popped off both stacks and compared; if they fail
    to match, #CP raised.

    Backport this commit from https://github.com/php/php-src/pull/9283
    With this commit, we create shadow stack with syscall map_shadow_stack
    (no.451) for each fiber context and switch the shadow stack accordingly
    during fcontext switch.

Signed-off-by: PeterYang12 <yuhan.yang@intel.com>
Signed-off-by: chen-hu-97 <hu1.chen@intel.com>
2022-09-29 22:58:22 -07:00
Antony Polukhin
2f0b5034b7 Support for stack protection 2022-09-17 18:38:12 +03:00
Zhang Na
e1001c479e Add support for loongarch64 2022-02-15 17:28:33 +08:00
Oliver Kowalke
f409fa8f59 Revert "support for spawning fiber managed by boost.asio"
This reverts commit 520128fab2.

revert because of dependency cycle
2021-10-16 10:52:47 +02:00
Oliver Kowalke
520128fab2 support for spawning fiber managed by boost.asio 2021-09-20 12:35:39 +02:00
Oliver Kowalke
c55b58bf0a Merge branch 'develop' into mips 2021-08-06 07:41:02 +02:00
Oliver Kowalke
34efe627eb fix wording in documentation
147
2021-07-13 21:01:25 +02:00
Oliver Kowalke
1f955ef26d Merge pull request #163 from airstone42/doc_fiber
Fix example code in fiber.qbk
2021-03-10 15:23:13 +01:00
Tianqi
1957a89442 fix code in fiber.qbk 2021-03-10 21:22:56 +08:00
Tianqi
28b86c9c6b fix typos in doc 2021-03-10 21:19:58 +08:00
Oliver Kowalke
b2875be082 update documentation 2020-12-10 15:04:34 +01:00
Oliver Kowalke
14b4f45187 docu: sanitizer support 2019-10-02 08:17:24 +02:00
Oliver Kowalke
36a81359f0 docu: update architectures 2019-09-12 17:38:19 +02:00
Oliver Kowalke
0c754f90c5 execution_context removed 2019-08-29 13:42:03 +02:00
Oliver Kowalke
227fbd01f2 documentation updated 2019-08-11 20:04:40 +02:00
Jiaxun Yang
6edc8184a7 Switch mips1 to mips 2018-12-02 13:07:18 +08:00
Augusto Hack
d2d58c6e28 typo fix 2018-08-18 20:15:43 -03:00
Oliver Kowalke
2e37599461 remove all.hpp because of name clashes (forced_unwind) 2018-04-14 11:31:05 +02:00
Thomas Kent
0361f571d1 Added working compiler versions and features needed for the lib 2018-03-15 16:36:26 -05:00
Oliver Kowalke
40f871b2b3 docu 2018-02-15 17:51:04 +01:00
Oliver Kowalke
cd1ac4b87b update docu 2018-02-15 17:44:20 +01:00
Oliver Kowalke
388a255ee8 rvalue-ref qualified resume()/resume_with() only 2018-02-09 17:27:35 +01:00
Oliver Kowalke
3a12382a14 documentation updated 2018-02-09 06:35:48 +01:00
Oliver Kowalke
8e7ffd157c resume()/resume_with() rvalue-ref qualified 2018-02-08 21:36:29 +01:00
Oliver Kowalke
7c3a6b51c5 mark execution_context (v1) as deprecated 2018-02-08 09:56:22 +01:00
Oliver Kowalke
ccd9a472c8 docu: fix link to P0876 2018-02-06 19:31:02 +01:00
Oliver Kowalke
2409751d1d update documentation 2018-02-05 21:02:15 +01:00
Oliver Kowalke
420554fe9a function executed by resume_with() has to return a continuation 2017-08-10 18:20:29 +02:00
Oliver Kowalke
8346fbfa89 no data transfer with call/cc 2017-08-01 09:43:29 +02:00
Oliver Kowalke
ad29fd3afd update performance docu 2017-06-04 20:27:03 +02:00
oliver Kowalke
492784dda3 update performance numbers 2017-06-04 20:27:03 +02:00
Oliver Kowalke
c0baca035b documentation 2017-06-04 20:27:03 +02:00
Oliver Kowalke
fa890b1c4d adapt Jamfiles for new properties 2017-06-04 20:27:03 +02:00
Oliver Kowalke
f1b7c8698d documentation 2017-06-04 20:27:03 +02:00
Oliver Kowalke
a72f69607f support WinFibers in callcc() 2017-06-04 20:27:03 +02:00
Torkel Bjørnson-Langen
7c3082d1f8 spelling corrections in doc/callcc.qbk 2017-06-01 18:20:02 +02:00
Oliver Kowalke
4b8a730919 support ucontext_t in callcc() 2017-06-01 18:20:02 +02:00
Oliver Kowalke
518ba02aa2 docu: add hint how execution_context-API can be used 2017-04-09 19:10:23 +02:00
Oliver Kowalke
a429ff6301 docu: hint to enable execution_context v1/v2 2017-04-01 05:42:34 +02:00
Oliver Kowalke
03573d7e7e Update stack.qbk 2017-03-14 14:25:23 +01:00
Oliver Kowalke
82293a2c03 rename of continuation member functions 2017-03-05 10:22:48 +01:00
oliver Kowalke
b26342288a execution_context is deprecated 2017-02-13 08:50:31 +01:00
Oliver Kowalke
25ed545efb ontop-fn accept rvalue reference to continuation 2017-02-04 06:58:17 +01:00
oliver Kowalke
3a822359ec resume() -> continuation::operator() 2017-02-02 09:19:10 +01:00
oliver Kowalke
98291526a7 rename transfer_data() -> get_data() 2017-02-01 09:30:35 +01:00
Oliver Kowalke
1f53a8825d remove execution_context docu 2017-01-08 20:07:16 +01:00
Oliver Kowalke
f2e1761a4d fix example fibonacci 2017-01-08 09:38:37 +01:00