2
0
mirror of https://github.com/boostorg/fiber.git synced 2026-02-20 14:42:21 +00:00
Commit Graph

1366 Commits

Author SHA1 Message Date
oliver Kowalke
f5dda504ae fix test/Jamfile.v2 requirements 2016-06-17 08:26:08 +02:00
oliver Kowalke
4fbded4616 add boostdoc to doc/Jamfile 2016-06-15 08:17:09 +02:00
oliver Kowalke
975b11dc25 add index.htm 2016-06-07 08:14:02 +02:00
oliver Kowalke
dfef6a9bf4 add subdir meta 2016-06-07 07:58:25 +02:00
Oliver Kowalke
ae645b20c5 Update README.md 2016-05-26 05:54:42 +02:00
Oliver Kowalke
9add30c909 synchr. non-atomics via fence 2016-05-23 18:37:35 +02:00
oliver Kowalke
d37e26cd14 apply memory ordering in detaching/attaching a context 2016-05-23 11:19:24 +02:00
oliver Kowalke
18a69a77a6 Revert "replace atomic< scheduler > by raw pointer"
This reverts commit 4c8ccf384a.
2016-05-23 10:48:50 +02:00
oliver Kowalke
4c8ccf384a replace atomic< scheduler > by raw pointer
- to synchronize, use a fence in scheduler::detach_worker_context()
  and scheduler::attach_worker_context()
2016-05-23 09:02:01 +02:00
Oliver Kowalke
c9fd43549b remove example work_stealing 2016-05-22 18:15:49 +02:00
Oliver Kowalke
1f81bc2a5f Merge branch 'exp' into develop 2016-05-22 07:20:22 +02:00
Oliver Kowalke
826ad9165f remove skynet_shared 2016-05-20 20:12:44 +02:00
Oliver Kowalke
b5f278df34 use std::mutex for locking operations 2016-05-20 18:34:09 +02:00
Oliver Kowalke
499aa325fd Merge pull request #87 from nat-goodspeed/exp
Fix documentation about random_chase_lev et al.
2016-05-20 18:31:17 +02:00
Nat Goodspeed
155c803075 Fix documentation about random_chase_lev et al. 2016-05-20 11:39:28 -04:00
oliver Kowalke
7f18392f25 channels: wrap atomic by BOOST_FIBERS_NO_ATOMICS 2016-05-19 07:49:05 +02:00
oliver Kowalke
9b063bb722 make refcounter for channel-nodes thread-safe 2016-05-19 07:48:57 +02:00
oliver Kowalke
e610910b1e channels: wrap atomic by BOOST_FIBERS_NO_ATOMICS 2016-05-18 09:05:58 +02:00
oliver Kowalke
726f690635 make refcounter for channel-nodes thread-safe 2016-05-18 08:33:24 +02:00
Oliver Kowalke
66e61eac4b use std::mutex to protec remote-reqdy queue in scheduler 2016-05-16 21:29:25 +02:00
Oliver Kowalke
621de905f7 update comment 2016-05-16 14:32:38 +02:00
Oliver Kowalke
ab4381bfe2 add syknet test for chase-lev 2016-05-16 14:30:38 +02:00
Oliver Kowalke
4e581b55d7 update documentation 2016-05-16 14:26:39 +02:00
Oliver Kowalke
8bd1006634 add random_chase_lev algorithm 2016-05-16 14:25:19 +02:00
Oliver Kowalke
576880ee9a replace fast_pool_allocator by std::allocator 2016-05-13 20:16:09 +02:00
Oliver Kowalke
310f3ce2f2 move sched_algorithm to algo::algorithm
- new namesapce algo
- shared_round_robin with shared ready queue
2016-05-13 20:14:48 +02:00
Oliver Kowalke
f1b43062d5 update documentation 2016-05-12 20:35:21 +02:00
Oliver Kowalke
ae03321771 add skynet test with work sharing 2016-05-12 20:33:58 +02:00
oliver Kowalke
4d47c74911 examples work sharing/stealing: spin in suspend_until()
- no fiber will sleep in both examples
- threads spin in dispatcher-fiber calling sched_algo::suspend_until()
  because thread should not be blocked if no ready fiber is available
2016-05-09 12:00:37 +02:00
oliver Kowalke
156b7d3eb0 remove unnecessary fiber invocation in skynet 2016-05-09 10:12:38 +02:00
Oliver Kowalke
d7b8c6714c some fixes for syknet 2016-05-08 23:28:37 +02:00
Oliver Kowalke
cf47ee0eb7 update docu 2016-05-08 13:51:38 +02:00
Oliver Kowalke
577a4bcdac fix async() overload 2016-05-08 13:50:04 +02:00
Oliver Kowalke
24fb04109e disable overloads for asnyc() 2016-05-08 10:30:31 +02:00
Oliver Kowalke
b734441ea6 some code formating 2016-05-08 10:08:31 +02:00
Oliver Kowalke
e3ebf6f6ef rename "launch_policy" to "launch" 2016-05-08 10:01:52 +02:00
Oliver Kowalke
c57d3abeb2 di not call async() wihtin boost.fiber's async) because of name clash in
MSVC
2016-05-03 19:01:40 +02:00
Oliver Kowalke
43866a4d2e fix comparasion of atomics for MSVC 2016-05-03 18:23:09 +02:00
Oliver Kowalke
cd00819982 documentation: update html files 2016-05-03 18:49:24 +02:00
oliver Kowalke
19fcdf5d2c fix example adapt_callback: wrap callback+args for C++11 2016-05-03 09:29:27 +02:00
Oliver Kowalke
cb20550c96 Merge pull request #85 from nat-goodspeed/attach-detach-doc
Attach / detach doc
2016-05-03 06:17:19 +02:00
Nat Goodspeed
1949291c98 Fix context::attach() documentation.
The notes erroneously imposed conditions on *this that should have been
applied instead to its parameter f.
2016-05-02 16:08:57 -04:00
Nat Goodspeed
ff35fc1f25 Flesh out doc for context::attach() and detach() + migration notes. 2016-05-02 15:56:11 -04:00
Nat Goodspeed
f910b356cc Fix spelling of "thief" (stolen h) 2016-05-02 15:03:11 -04:00
Nat Goodspeed
247e551fbd Make context::is_context(type) values explicitly unspecified. 2016-05-02 13:24:13 -04:00
Oliver Kowalke
968c32c842 replace context::migrate() by context::attach()/context::detach() 2016-05-02 18:56:17 +02:00
oliver Kowalke
aa3ad60d07 example asio: errors mentioned by clang 2016-05-02 08:19:36 +02:00
Oliver Kowalke
f89e5fc7e8 isoem fixes for example adapt_callback 2016-05-01 19:02:57 +02:00
Oliver Kowalke
c835d09e02 update of html-files (documentation) 2016-05-01 16:42:59 +02:00
Oliver Kowalke
f628f096d5 Merge pull request #84 from nat-goodspeed/develop
Reinstate binding promise to lambda with move
2016-05-01 16:41:37 +02:00