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

1357 Commits

Author SHA1 Message Date
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
Nat Goodspeed
ba67ad63fc Merge branch 'develop' of github.com:olk/boost-fiber into develop 2016-05-01 10:35:42 -04:00
Nat Goodspeed
0e2f382285 Bind promise with init capture if available, else use std::bind. 2016-05-01 10:33:54 -04:00
Oliver Kowalke
5c18abdbed update of html-files (documentation) 2016-05-01 09:22:06 +02:00
Oliver Kowalke
4d4b96327b Merge pull request #83 from nat-goodspeed/develop-doc
Documentation commits from nat-goodspeed/boost-fiber branch develop
2016-05-01 09:14:28 +02:00
Nat Goodspeed
eaf592f0e5 Remove references to multiple threads, yield_hop and migration.
Also use curly apostrophes throughout.
2016-04-30 10:16:47 -04:00
Nat Goodspeed
ba171ee066 Fix the expansion of __run_service__ to abbreviated run_svc() name.
Also make __io_service__ expand to a link to Asio documentation.
2016-04-30 10:14:46 -04:00
Nat Goodspeed
b1fe17d264 Make boost::asio::io_service a link in 'support for Boost.Asio'. 2016-04-30 10:10:32 -04:00
Nat Goodspeed
fd96f095e5 Bundled [^...] template works better than my [`...] with embedded link. 2016-04-30 10:10:32 -04:00
Nat Goodspeed
0508706572 Use new [s] and [t] templates to produce curly apostrophes. 2016-04-30 10:10:32 -04:00