Commit Graph

1840 Commits

Author SHA1 Message Date
Oliver Kowalke
de26f060f6 docu
- in context of #170
2018-03-22 08:35:39 +01:00
Oliver Kowalke
ad7b8b259c Merge branch 'develop' 2018-02-26 19:43:05 +01:00
Oliver Kowalke
c8f3f405a7 fox docu
- in context of #168
2018-02-26 19:42:13 +01:00
Oliver Kowalke
1f97f78d10 Merge branch 'develop' 2018-02-19 16:07:05 +01:00
Oliver Kowalke
41b008950f uni-test: do not build ucontext for Android 2018-02-19 16:06:35 +01:00
Oliver Kowalke
1284b6111e Merge branch 'develop' 2018-02-15 17:48:45 +01:00
Oliver Kowalke
c49b8424e4 update docu 2018-02-15 17:48:37 +01:00
Oliver Kowalke
83c72cd9d3 Merge branch 'develop' 2018-02-10 07:33:58 +01:00
Oliver Kowalke
3d15104bc5 fiber: resume() and resume_with() are rvalue-ref qulified only 2018-02-09 17:31:11 +01:00
Oliver Kowalke
003312e00d unit-tests: remove double registered tests 2018-02-09 17:30:52 +01:00
Oliver Kowalke
e38d4b3002 Merge branch 'develop' 2018-02-08 21:24:31 +01:00
Oliver Kowalke
41eff8d732 support for context::fiber 2018-02-07 20:15:53 +01:00
Oliver Kowalke
0cb7a8e748 Merge branch 'develop' 2018-01-18 21:19:30 +01:00
Oliver Kowalke
f12288bec7 call shared_state::owner_destroyed() only if future was created from
- in context of #167
- in dtor of promise_base and packaged_task test if shared-state was
  initialized and a future was constructed from shared_state
- call shared_state::owner_destroyed() only if both condition are true
2018-01-11 18:54:16 +01:00
Oliver Kowalke
e325cf78d5 remove assertion for wait_is_linked() in schedule()
- in context of #166
- scheduler::schedule() is called by scheduler::sleep2ready_()
- a timed wait-op might timed out (and context might resumed by
  scheduler::slepp2read_()) while the context is still in sync.
  primitve's wait-queue
2018-01-04 13:13:36 +01:00
Oliver Kowalke
e66cfc523e
Merge pull request #165 from DanielaE/fix/replace-deprecated-allocator-members
Most members of std::allocate are deprecated in C++17
2018-01-01 19:48:58 +01:00
Oliver Kowalke
79263fc403
Merge pull request #164 from DanielaE/fix/no-iterator-inheritance
Inheriting std::iterator is deprecated in C++17
2018-01-01 19:48:42 +01:00
Daniela Engert
05c7f1ea1a
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 19:29:48 +01:00
Daniela Engert
7a5028827d
Most members of std::allocate are deprecated in C++17
And so is std::allocator<void>. Replace them by their cousins from std::allocator_traits. In addition to that, use std:allocator_traits wherever possible. Without that, heaps of deprecation warnings will fall onto humble users when compiling with MSVC 15 in C++17 mode.

Signed-off-by: Daniela Engert <dani@ngrt.de>
2018-01-01 19:28:45 +01:00
Oliver Kowalke
1941e71a63 inheriting std::iterator is deprecated in C++17 2018-01-01 19:22:38 +01:00
Oliver Kowalke
a2b526204a disable pin-thread tests 2017-12-30 08:36:14 +01:00
Oliver Kowalke
7ff5a3564b NUMA: pin thread to CPU via std:🧵:native_handle()
- in context of #148
2017-12-29 06:34:35 +01:00
Oliver Kowalke
53eddf651f remove use-coutner increment for timed wait ops.
- in context of #162
2017-12-27 09:49:41 +01:00
Oliver Kowalke
4a18610540 Merge branch 'develop' 2017-12-25 07:24:55 +01:00
Oliver Kowalke
c8a5f4a242 docu: StackAllocator as rvalue reference in fibers ctor 2017-12-25 07:24:24 +01:00
Oliver Kowalke
6186f22946 pass StackAllocator to fiber via rvalue references 2017-12-23 11:47:45 +01:00
Oliver Kowalke
903c6dadef delete move copy ctor and assignment op for context 2017-12-20 07:49:51 +01:00
Oliver Kowalke
09e2167c76 use fiber::swap() inside move copy ctor 2017-12-20 07:49:22 +01:00
Oliver Kowalke
0655f68540 Merge branch 'develop' 2017-12-18 13:47:55 +01:00
Oliver Kowalke
c63e4eb289 add BOOST_FIBERS_DECL to work_stealing class
- in context of #158
2017-12-13 12:30:40 +01:00
Oliver Kowalke
02de640ef3 Merge branch 'develop' 2017-12-02 13:53:10 +01:00
Oliver Kowalke
4389d50a8f
Merge pull request #157 from glenfe/develop
Use to_address free function instead of pointer_traits member
2017-11-24 07:47:23 +01:00
Glen Fernandes
3791731185 Use to_address free function instead of pointer_traits member
The free function form was accepted and voted into C++20 (P0653R2).
2017-11-23 23:31:15 -05:00
Oliver Kowalke
05d211b850 Merge branch 'develop' 2017-11-18 08:20:49 +01:00
oliver Kowalke
514aa157ea examples: barrier sync. threads renamed to thead_barrier 2017-11-17 10:05:53 +01:00
oliver Kowalke
292528cbc9 examples: add reference to boost.filesystem in Jamfile 2017-11-17 10:05:25 +01:00
oliver Kowalke
af2bba7970 docu: fix exampel code for worker-threads + work-stealing
- don't use boost::fibers::barrier
2017-11-16 08:49:57 +01:00
oliver Kowalke
19fbc2ad2c docu: add iterators for (un)buffered_channel 2017-11-14 08:59:44 +01:00
oliver Kowalke
bda06127b5 docu: qualtify this_fiber with 'boost::` 2017-11-14 07:56:53 +01:00
oliver Kowalke
a70cd293fc Merge branch 'develop' 2017-11-10 07:54:37 +01:00
oliver Kowalke
773746b389 docu: replace waiting by synchronization 2017-11-10 07:53:44 +01:00
oliver Kowalke
58a4b88fa9 docu: replace set_ready() by schedule()
- in context of #153
2017-11-10 07:52:12 +01:00
Peter Dimov
01be25e875 Add Mac OS X jobs to Travis 2017-11-08 15:30:20 +02:00
oliver Kowalke
212d06a1c8 fix conditional rule for MacOS X 2017-11-08 13:35:18 +01:00
oliver Kowalke
bf2b5978d2 fix examples 2017-11-08 13:35:18 +01:00
oliver Kowalke
933f8c34ab fix conditional rule for MacOS X 2017-11-08 13:34:28 +01:00
oliver Kowalke
e3ea9d32aa fix examples 2017-11-08 09:01:26 +01:00
Oliver Kowalke
0d23f02029 Merge branch 'develop' 2017-11-08 06:30:00 +01:00
Oliver Kowalke
8559169a21 disabel topology unit-test for MacOS X 2017-11-08 06:29:32 +01:00
Oliver Kowalke
12bb7c89db Merge branch 'develop' 2017-11-07 19:22:15 +01:00