Commit Graph

151 Commits

Author SHA1 Message Date
Nikita Kniazev
a3e511feb9 Cease dependence on Range 2019-11-24 21:52:01 +03:00
Oliver Kowalke
f6741b3887 Merge branch 'develop' 2019-03-20 14:59:22 +01:00
Oliver Kowalke
2090b4a4a8 Don't crash on pthread_cancel
Justinas V. Daugmaudis: This patch prevents abi::__forced_unwind from being eaten
2019-03-14 15:24:15 +01:00
Oliver Kowalke
d20833c5f7 Merge branch 'develop' 2019-01-22 14:32:13 +01:00
Vinnie Falco
6c37e98873 Fix Windows dll-interface compilation warnings:
* Add BOOST_COROUTINES_DECL where needed

The resolves warning C4251:

"...needs to have dll-interface to be used by clients of class..."
2018-12-19 19:49:16 -08:00
Oliver Kowalke
f226f9ba27 remove deprecation warning requested by Vinnie Falco 2018-12-13 09:26:09 +01:00
Daniela Engert
498302a051
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:24:17 +01:00
Oliver Kowalke
cbab418fa6 add virtual dtor for push_coroutine_impl
- in context of #31
2017-08-10 19:27:57 +02:00
oliver Kowalke
c33f5fcc42 fix type regarding to deprecation warning 2016-09-23 09:37:21 +02:00
oliver Kowalke
5eefc3c6eb maker boost.coroutine as deprectated 2016-09-06 13:12:16 +02:00
oliver Kowalke
64de8a62c9 declare boost.cotnext as deprecated 2016-06-14 15:13:24 +02:00
Oliver Kowalke
cf0b1b2844 remove unnecessary attributes and flags 2016-03-08 06:34:43 +01:00
Oliver Kowalke
bc76ee17e6 fcontext_t-API is no longer part of public API 2016-01-14 17:55:10 +01:00
Oliver Kowalke
014b28eb23 remove nothrow specifier 2015-11-15 14:44:25 +01:00
Oliver Kowalke
a29c4a08b1 adapt new fcontext-API 2015-11-11 08:24:20 +01:00
Oliver Kowalke
c8ca13f8c5 user support of segmented-stacks from boost.context 2015-11-11 07:59:00 +01:00
Ben Wiederhake
75ecf585a8 Fix signed pointer comparison. 2015-09-17 19:33:54 +02:00
Oliver Kowalke
b3235bca7c add export declaration in cpp files 2015-06-19 18:52:40 +02:00
Oliver Kowalke
06f255c471 replace internal_stack_ctx by instance of preallocated 2015-06-02 17:22:24 +02:00
Oliver Kowalke
8b5cb1df2d add const_iterator to asymmetric_coroutine<>::pull_type 2015-04-29 20:31:08 +02:00
Nik Bougalis
ba2517b6be Do not return dangling pointer to exception message 2015-04-10 13:23:14 -07:00
Oliver Kowalke
49bd16d34f delete iterator's post increment op. 2015-02-16 18:41:56 +01:00
anttirt
a6bd532525 Optionally register stacks with valgrind 2014-10-06 15:59:05 +03:00
Oliver Kowalke
3991225896 fix issue related to ADL for begin()/end() 2014-08-28 20:00:26 +02:00
Oliver Kowalke
06145727ee prefix forward() with namespace boost 2014-08-21 18:48:14 +02:00
Oliver Kowalke
ec0ce03081 fix nlining for full-specialized tempaltes 2014-08-21 17:15:10 +02:00
Oliver Kowalke
1005688697 fix MAP_ANONYMOUS for old Mac OS X 2014-07-09 19:44:41 +02:00
Oliver Kowalke
6def88c073 Fixed unbalanced include of abi headers
- resulting in more pops than pushes in MSVC.
2014-07-04 16:51:32 +02:00
Oliver Kowalke
6e23c9e816 use MAP_ANONYMOUS instead of file discriptor for mmap() 2014-06-27 21:46:46 +02:00
Oliver Kowalke
7e8fda6d6c set/remove flag_running 2014-06-25 17:45:27 +02:00
Oliver Kowalke
ac73aeebf6 add macros for unidirectional trasnafer and symmetric corutines 2014-05-03 09:29:26 +02:00
Oliver Kowalke
223403af71 fix for #7988: range-for wit clang-c++11 2014-04-03 20:52:58 +02:00
Oliver Kowalke
e44109ed6f some stuff 2014-04-02 18:22:21 +02:00
Oliver Kowalke
46adcaab5b remove stack_allocator parameter from ctor of coroutines 2014-04-02 18:10:52 +02:00
Oliver Kowalke
c797ecab53 remove tempalte<> for MSVC 2014-03-31 20:00:17 +02:00
Oliver Kowalke
7a0dfb6a59 disable warnings for MSVC 2014-03-31 19:00:29 +02:00
Oliver Kowalke
29408a0746 fix typo: push_coroutine 2014-03-31 18:52:47 +02:00
Oliver Kowalke
272368f6f8 add missing stack_allocator parameter to ctor 2014-03-31 18:49:08 +02:00
Oliver Kowalke
19c95ad5cc dd missing keyword typename 2014-03-30 13:52:15 +02:00
Oliver Kowalke
665c2382ef asyymmetric-coroutine with placement new 2014-03-30 11:01:14 +02:00
Oliver Kowalke
24f523f4b3 small changes related to symmetric-coroutine 2014-03-27 20:59:17 +01:00
Oliver Kowalke
68e5857509 symmetric-coroutine: placement new + StackAllocator
- for symmetric_coroutine<> StackAllocator is type-erased
- symmetric_coroutine_impl<> is allocated via placement-new on
  coroutine's stack -> no extra jump to coroutine-context
2014-03-26 17:44:18 +01:00
Oliver Kowalke
e3225bbacb use traits_type::page_size() in protected-stack_allocator 2014-03-21 17:10:22 +01:00
Oliver Kowalke
00205b2431 add clang support for segmented stacks 2014-03-19 21:19:44 +01:00
Oliver Kowalke
3b39af8001 some code cleanup related to segmented stacks 2014-03-19 21:17:45 +01:00
Oliver Kowalke
965829128c add missing header attributes.hpp 2014-03-19 19:43:23 +01:00
Oliver Kowalke
fbb82004fe fix typo for protect_stack_allocator on Windows 2014-03-17 17:45:07 +01:00
Oliver Kowalke
5e5b0ada89 symmetric_coroutine::get() throw invalid_result 2014-03-14 17:46:18 +01:00
Oliver Kowalke
7b0c1dd87d introduction of stack_traits 2014-03-14 17:09:59 +01:00
Oliver Kowalke
a6e5fe64da fix unwinding symmetric coroutine 2014-03-12 17:39:45 +01:00