Commit Graph

222 Commits

Author SHA1 Message Date
Oliver Kowalke
18bcccf34d Merge branch 'develop' 2019-10-02 08:23:18 +02:00
Oliver Kowalke
c63e9158c5 docu: support for sanitizers 2019-10-02 08:22:54 +02:00
Oliver Kowalke
58d01b0af6 Merge branch 'develop' 2019-10-02 08:19:54 +02:00
Oliver Kowalke
5616e42bd9 docu: support for sanitizers 2019-10-02 08:19:27 +02:00
Oliver Kowalke
8e92be839d Merge branch 'develop' 2019-03-20 14:58:50 +01:00
Oliver Kowalke
1ce4a15fb8 include config of boost.context 2019-03-14 15:38:42 +01:00
Oliver Kowalke
e794cccf0e Don't crash on pthread_cancel
- in context of #28

Justinas V. Daugmaudis: This patch prevents abi::__forced_unwind from being eaten
2019-03-14 15:03:28 +01:00
Oliver Kowalke
e2ebf7c836 Merge branch 'develop' 2019-02-02 09:35:49 +01:00
Oliver Kowalke
0233d35081
Merge pull request #24 from CaseyCarter/patch-1
[pull_coroutine] iterators model C++20 InputIterator
2018-12-05 19:13:57 +01:00
Casey Carter
f885fb2c91
[pull_coroutine] iterators model C++20 InputIterator
The C++20 `InputIterator` concept requires post-increment indirectly via the [`WeaklyIncrementable`](http://eel.is/c++draft/iterator.concept.winc) concept, but doesn't constrain the return type unlike the "old [input iterator requirements](http://eel.is/c++draft/input.iterators). Consequently the iterators of coroutine generators - such as `pull_coroutine` - can model `InputIterator`.

Drive-by: Remove explicit implementations of copy construction/assignment that do what the default implementations would; don't pessimize by avoiding self-swap of pointers.
2018-12-05 09:26:52 -08:00
Oliver Kowalke
e1b3ca3179 Merge branch 'develop' 2018-06-11 19:29:30 +02:00
Oliver Kowalke
b029799da7
Merge pull request #21 from hamparawa/documentation_fix
Fixing example code in undefined behaviour
2018-04-20 12:43:55 +02:00
Saliya Hamparawa
9dde80b712
Fixing example code in undefined behaviour 2018-04-20 14:53:37 +05:30
Oliver Kowalke
c2e5a526eb Merge branch 'develop' 2018-02-19 16:09:00 +01:00
Oliver Kowalke
27a3b101d4 unite-test: rename rule to 'native-impl' 2018-02-19 16:08:19 +01:00
Oliver Kowalke
51390c0346 Merge branch 'develop' 2018-02-19 16:03:45 +01:00
Oliver Kowalke
0cc5d85b89 fix bug introduced after switch to boost::context::fiber 2018-02-19 16:03:01 +01:00
Oliver Kowalke
2ed71ab0f1 unit-test:do not build for ucontext on Android 2018-02-19 15:15:57 +01:00
Oliver Kowalke
067f677ec3 Merge branch 'develop' 2018-02-15 17:49:45 +01:00
Oliver Kowalke
8f58d89237 docu 2018-02-15 17:49:37 +01:00
Oliver Kowalke
d2cda7c58e Merge branch 'develop' 2018-02-15 17:46:27 +01:00
Oliver Kowalke
b866e33187 update docu 2018-02-15 17:46:14 +01:00
Oliver Kowalke
78c21d8c91 Merge branch 'develop' 2018-02-10 07:33:27 +01:00
Oliver Kowalke
fc3cb67527 fiber::resume() and fiber::resume_with() are rvalue-ref qualified only 2018-02-09 17:29:02 +01:00
Oliver Kowalke
dc014921ee Merge branch 'develop' 2018-02-08 21:24:10 +01:00
Oliver Kowalke
5243bfef42 disable unit-tests using ucontext for MacOS X 2018-02-06 19:44:47 +01:00
Oliver Kowalke
49716a54d8 support for context::fiber 2018-02-06 19:43:50 +01:00
Oliver Kowalke
a28b850bcd
Update README.md 2018-02-05 08:10:22 +01:00
Oliver Kowalke
192cfcd05a Merge branch 'develop' 2018-01-18 21:20:20 +01:00
Oliver Kowalke
f590244a07
Merge pull request #16 from DanielaE/fix/no-iterator-inheritance
Inheriting std::iterator is deprecated in C++17
2018-01-01 19:12:59 +01:00
Daniela Engert
0114d19a46
Inheriting std::iterator is deprecated in C++17
Therefore replace inheritance by lifting std::iterator's members into the derived class.

Signed-off-by: Daniela Engert <dani@ngrt.de>
2018-01-01 16:42:45 +01:00
Oliver Kowalke
3e074ab9dc add control file for Travis CI 2017-12-20 15:34:05 +01:00
Oliver Kowalke
50f8ae30d1 Fixing a resource leak in move copy ctor 2017-12-20 07:38:55 +01:00
Oliver Kowalke
826f732188
Merge pull request #15 from hamparawa/develop
Fixing a resource leak in move assignment
2017-12-20 07:24:19 +01:00
Oliver Kowalke
98e7406a40
Update pull_coroutine.hpp 2017-12-20 06:23:59 +00:00
Oliver Kowalke
b0b22e16e9
Update push_coroutine.hpp 2017-12-20 06:23:22 +00:00
Oliver Kowalke
6bf49d619a
Update push_coroutine.hpp 2017-12-20 06:22:27 +00:00
Oliver Kowalke
a3eb60c432
Update pull_coroutine.hpp 2017-12-20 06:21:48 +00:00
Saliya Hamparawa
7a702c4e86 Fixing a resource leak in move assignment
Signed-off-by: Saliya Hamparawa <hamparawa@gmail.com>
2017-12-20 11:09:38 +05:30
oliver Kowalke
b6fd25038d Merge branch 'develop' 2017-10-13 07:48:35 +02:00
Oliver Kowalke
40cbfe5c01 perfect forwarding of stack allocator 2017-09-24 09:04:20 +02:00
Oliver Kowalke
c70f167501 Merge branch 'develop' 2017-09-08 18:35:30 +02:00
Oliver Kowalke
6317f864cb rethrow exceptions thrown by pull-coroutine ctor 2017-08-08 21:34:58 +02:00
Oliver Kowalke
6612cdc251 Merge branch 'develop' 2017-08-01 10:15:35 +02:00
Oliver Kowalke
0ecc359300 do not pass data via continuation::resume() 2017-08-01 09:44:08 +02:00
Oliver Kowalke
3b542b8011 Merge branch 'develop' 2017-07-10 19:09:08 +02:00
Oliver Kowalke
9af8f7a901 Merge pull request #10 from mog422/develop
Fix build failure on windows
2017-07-06 10:50:06 +02:00
mog422
33371a87d9 Fix build failure on windows
coroutine2 is a header-only library. But, It includes auto_link.hpp.
That worked surprisingly smoothly until before boost 1.64.
But the commit 91c327bb01 causes a build failure.
2017-07-06 17:36:19 +09:00
Oliver Kowalke
7c891bbf70 Merge branch 'develop' 2017-07-05 18:33:11 +02:00
Oliver Kowalke
5b06384117 remove build sub-direcotry - header-only lib 2017-07-05 18:32:38 +02:00