2
0
mirror of https://github.com/boostorg/context.git synced 2026-01-27 06:42:20 +00:00

76 Commits

Author SHA1 Message Date
Oliver Kowalke
dbd95e8421 callcc() -> resume() 2017-01-05 18:59:02 +01:00
Oliver Kowalke
ac38815b6d refactor all.hpp 2017-01-02 10:07:18 +01:00
Oliver Kowalke
6aafda324d decouple passed types 2017-01-02 10:07:17 +01:00
Oliver Kowalke
d32842cb50 context-fn signature continuation(*)(continuation &&) 2016-12-28 14:28:44 +01:00
Oliver Kowalke
ba37cd3968 remove template arg from callcc() 2016-12-28 12:36:25 +01:00
Oliver Kowalke
b78e0c894b return values transferred by continuation 2016-12-26 10:11:06 +01:00
oliver Kowalke
7ab9ace7b3 introduction of callcc()/continuation<> 2016-12-25 21:23:04 +01:00
oliver Kowalke
7db7873401 enable unit-test only if <thread> is supported 2016-12-13 08:06:01 +01:00
Oliver Kowalke
df7f46260a unit-test: enable ontop-exception 2016-12-04 12:09:55 +01:00
Oliver Kowalke
ba3673d9cb add unit-tests for fcontext 2016-11-26 19:45:39 +01:00
oliver Kowalke
1aa4e6a320 Merge branch 'ontop' into develop 2016-11-21 08:19:56 +01:00
Oliver Kowalke
e607528e4a reduced signature of ontop-fn 2016-11-21 08:19:02 +01:00
Oliver Kowalke
b2149a615a reduced signature of ontop-fn 2016-11-17 19:56:26 +01:00
Oliver Kowalke
a83c1dcc62 fix unit test 2016-11-11 16:43:20 +01:00
Oliver Kowalke
2bfdd768d3 fix unit-test 2016-10-15 08:25:29 +02:00
Oliver Kowalke
2e5430fd27 disable warning for MSVC 2016-10-11 11:49:39 +02:00
Oliver Kowalke
d7e39b4c18 pass ecv2 a universal reference to context-fn 2016-10-07 19:20:30 +02:00
oliver Kowalke
b1472d4338 use macro BOOST_MSVC in unit-test 2016-09-26 09:04:41 +02:00
oliver Kowalke
5d6e4a61c0 use macro BOOST_MSVC in unit-test 2016-09-26 08:59:35 +02:00
oliver Kowalke
ff4f933429 unit-tests: use defect macro for thread_local 2016-09-15 08:51:50 +02:00
Oliver Kowalke
f91dbd674a fix test-function name 2016-07-31 20:55:57 +02:00
Oliver Kowalke
648c24c3f5 execute seh-test in separate thread 2016-07-31 20:55:27 +02:00
Oliver Kowalke
61ab618846 rename test_windows_nulled_stack() 2016-07-31 17:45:53 +02:00
Oliver Kowalke
087b68382a test for 12340 (SEH test on Windows) 2016-07-31 17:45:00 +02:00
oliver Kowalke
ae66946c06 fix test/Jamfile.v2 requirements 2016-06-17 08:18:46 +02:00
Oliver Kowalke
2baea29df0 fix typo in unit.test (WINDOWS only) 2016-05-22 15:37:32 +02:00
oliver Kowalke
d4c3f32436 enhance unit-tests for Windows (nulled stack) 2016-05-19 08:25:56 +02:00
Oliver Kowalke
e28159dd65 adapt execution_context (v1) for exec_ontop
- pass only void* as argument
2016-02-11 17:40:01 +01:00
Oliver Kowalke
a136c521f5 return data from function with exec_ontop 2016-02-10 19:27:39 +01:00
Oliver Kowalke
31a196f12c add unit-test for passing pointers between execution_context 2016-02-09 16:55:04 +01:00
Oliver Kowalke
83a8fddf36 some fixes for passign references as arguments to ec 2016-02-08 21:29:06 +01:00
Oliver Kowalke
cf783fd907 make execution_context (v2) typesafe 2016-02-08 18:36:58 +01:00
Oliver Kowalke
68a57f29b3 rename captued_context to execution_context
- split into execution_context v2 (previous captured_context)
  and execution_context v1
- v1 enabled if segmented-stacks=on at b2 commandline
2016-02-06 12:18:38 +01:00
Oliver Kowalke
c3296606c1 remove unit-test for fcontext_t 2016-01-13 16:58:44 +01:00
Oliver Kowalke
8710b4f928 introduction of property context-switch
- property context-switch is used to determine if captured_context
  or execution_context is used
2016-01-04 17:43:47 +01:00
Oliver Kowalke
ba357205a9 class captured_context added 2016-01-01 22:03:18 +01:00
Oliver Kowalke
0ec3ad70a6 re-factor apply()/invoke() + unit-tests 2015-12-11 19:44:11 +01:00
Oliver Kowalke
31dadae120 re-enable unit-tests for execution_context 2015-12-11 19:44:03 +01:00
Oliver Kowalke
4380967c80 relax to C++11 2015-12-08 17:46:09 +01:00
Oliver Kowalke
4d68f47767 fcontext uses 'void*' for data transfer 2015-11-28 22:58:36 +01:00
Oliver Kowalke
4f9df7d8e4 segmented-stacks=on -> only segmented_stack can be used 2015-10-18 19:16:19 +02:00
Oliver Kowalke
43d89cb639 support passing argument between execution_context' 2015-10-15 17:42:25 +02:00
Oliver Kowalke
01660915c1 reorder test macros in unit-test 2015-10-11 09:07:43 +02:00
Oliver Kowalke
c60534cf89 default ctor of execution_context without stack allocator 2015-09-26 20:20:58 +02:00
Oliver Kowalke
c5ede089b0 enhance tests for execution_context 2015-07-14 18:04:21 +02:00
Oliver Kowalke
a1447bb35e add invoke() in order to support member fn 2015-06-23 17:52:34 +02:00
Oliver Kowalke
16abb31ae8 add checks for C++11/14 features in unit-tests 2015-06-21 18:42:55 +02:00
Oliver Kowalke
aadb5968f4 remove parent-tracking in execution_context
- tracking parent inside of execution_context:
- costs performance
- execution_context doesn't realy know which execution_context should be
  executed next (if it's terminating)
- fibers do not care of the parent context -> scheduler decides which is
  the next context
2015-06-03 09:00:21 +02:00
Oliver Kowalke
41123e262d make execution_context conform to N4397 2015-03-26 10:00:42 +01:00
Oliver Kowalke
55b10634f7 return to parent activation record 2015-03-25 22:43:37 +01:00