Commit Graph

20 Commits

Author SHA1 Message Date
Oliver Kowalke
bdc7cb82e5 execution_context does not track parents + no exceptions catched
- execution_context does not track parent
- execution_context calls std::terminate() if execption is thrown
- coroutine has to catch exception and store it in exception_ptr to
  rethrow it
2015-06-03 09:29:12 +02:00
Oliver Kowalke
2d5d7e4792 jump back to caller after coro-fn termination
- if the coroutine-fn terminates/finishes we have to explicitly jump
  back to the caller
- othwerwise the execution_context gets deconstructed, thus the
  coroutine will be destructed too early
2015-06-02 09:44:52 +02:00
Oliver Kowalke
bca9dd2a13 remove jump back to caller after termination
- if coroutine function terminates execution_context already jumps back
  to its parent (caller)
2015-04-03 09:56:46 +02:00
Oliver Kowalke
673b2e2878 add "Done" as output for example layout 2015-04-03 09:54:23 +02:00
Oliver Kowalke
ac27579e48 adapt new API of execution_context 2015-03-26 09:57:08 +01:00
Oliver Kowalke
23c083e374 remove std:swap() in move-ctor 2015-02-20 18:41:40 +01:00
Oliver Kowalke
d91c018653 rename execution_context::jump_to() -> execution_context::resume() 2015-02-18 18:49:43 +01:00
Oliver Kowalke
aebdd81a5d delete iteratos's post increment op. 2015-02-16 18:35:03 +01:00
Oliver Kowalke
a373afcf34 Merge branch 'develop' of github.com:boostorg/coroutine2 into develop 2015-02-12 16:32:23 +01:00
Oliver Kowalke
fd3ed4afaa update C++14 statment in README.md 2015-02-12 16:31:40 +01:00
Oliver Kowalke
1ea084b200 Update README.md 2015-02-12 09:54:23 +01:00
Oliver Kowalke
a390cc2fbd use C++14 feature lambda capture expressions 2015-02-11 19:57:45 +01:00
Oliver Kowalke
c37afa91ca remove typedef in void-specializations 2015-02-09 22:15:52 +01:00
Oliver Kowalke
2eb694583f remove boost::noncopyable from tests 2015-02-07 07:42:50 +01:00
Oliver Kowalke
b7eacedf91 Update libraries.json 2015-02-05 07:43:44 +01:00
Oliver Kowalke
19060e2eaf definition of property valgrind moved to boost.context 2015-01-29 19:12:32 +01:00
Oliver Kowalke
f207943aa9 parser example: throw exception if invalid token 2015-01-24 23:20:58 +01:00
olk
28d689c5bf Update README.md 2015-01-23 23:19:08 +01:00
Oliver Kowalke
81b2255ddf initial import 2015-01-23 23:15:23 +01:00
Oliver Kowalke
9b56338411 file .gitignore added 2015-01-22 22:55:01 +01:00