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

295 Commits

Author SHA1 Message Date
Oliver Kowalke
a0f27c8b04 buffered_channel's capacity must be a power of 2
- fixes issue #111
2017-02-25 10:27:30 +01:00
oliver Kowalke
b027ba3f77 fix Jamfile for doc generation 2017-01-18 10:24:00 +01:00
oliver Kowalke
20ca3705e7 pass stack-allocator to fiber in async()
- stack-allocator was mistakenly passed as argument to packaged_task<>
- additional overload for async() taking stack-allocator for fiber and
  allocator for packaged_task<>
2017-01-12 09:11:25 +01:00
Oliver Kowalke
bfb1c0a864 remove html files from doc 2016-12-27 19:08:42 +01:00
Oliver Kowalke
85ae668f53 documentation: support of valgrind 2016-11-24 19:26:53 +01:00
oliver Kowalke
a989468064 documentation: fix perfromance numbers for std::thread 2016-11-18 07:50:09 +01:00
oliver Kowalke
648de6a665 documentation: fix performance numbers for pthreads 2016-11-17 15:13:09 +01:00
oliver Kowalke
df8f8ac41f documentation: perforamnce numbers of threads 2016-11-14 08:02:09 +01:00
oliver Kowalke
1ea326d956 documentation: reorder columns in performance table 2016-11-11 07:46:34 +01:00
Nat Goodspeed
5bf854eff6 Retitle tables; remove mu from "systems". 2016-11-10 10:34:55 -08:00
Oliver Kowalke
6a10579e95 documentation: use micro seconds for performance measurements 2016-11-10 18:59:59 +01:00
Nat Goodspeed
f026de1458 Editorial pass through updated performance.qbk.
Also a couple of tweaks to referenced sections in scheduling.qbk.
2016-11-10 07:14:39 -08:00
Oliver Kowalke
290f1ff5ed update documentation
- section performance updated
- subsection tweaking
2016-11-09 08:16:28 +01:00
Oliver Kowalke
fa071c27cf use SPMC (chase-lev algoritm) for ready-queue (work stealing) 2016-11-03 11:05:51 +01:00
Oliver Kowalke
03e11d6538 spinlocks refactored
- use cpu_relax() to delay (using pause and equivalent mnemonic)
- exponential backoff if lock could no be acquired
- ttas, adaptive ttas
2016-11-03 11:05:05 +01:00
Oliver Kowalke
b53e167a68 support for channels refactored
- buffered_channel: MPMC with lock-free guarantees
- unbuffered_channel: rendezvous point
2016-10-30 19:33:49 +01:00
Oliver Kowalke
b1f609ea60 Revert "macro BOOST_FIBERS_SPINLOCK_YIELD added"
This reverts commit 550c164773.

- prevent CPU burning
- pause CPU while bussy waiting (pause() ... Linux kernel cpu_relax())
  instead
2016-10-21 17:13:56 +02:00
Oliver Kowalke
550c164773 macro BOOST_FIBERS_SPINLOCK_YIELD added
- if BOOST_FIBERS_SPINLOCK_YIELD is defined,
  spinlock::lock() calls std::this_thread::yield() if busy waiting
2016-10-16 10:11:23 +02:00
Oliver Kowalke
ce962f9688 (un)bounded_channel renamed to (un)bounded_queue 2016-10-13 20:17:01 +02:00
Oliver Kowalke
a251ba3878 update docu regarding to asio examples modification 2016-10-10 11:18:02 +02:00
Rene Rivera
1a6b5afa42 Add, and update, documentation build targets. 2016-10-07 23:07:33 -05:00
oliver Kowalke
187a45a1de update link in docu 2016-09-12 13:31:10 +02:00
Oliver Kowalke
e9144fba8e remove warning in docu 2016-08-20 13:16:29 +02:00
oliver Kowalke
4fbded4616 add boostdoc to doc/Jamfile 2016-06-15 08:17:09 +02:00
Oliver Kowalke
1f81bc2a5f Merge branch 'exp' into develop 2016-05-22 07:20:22 +02:00
Nat Goodspeed
155c803075 Fix documentation about random_chase_lev et al. 2016-05-20 11:39:28 -04:00
Oliver Kowalke
4e581b55d7 update documentation 2016-05-16 14:26:39 +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
cf47ee0eb7 update docu 2016-05-08 13:51:38 +02:00
Oliver Kowalke
e3ebf6f6ef rename "launch_policy" to "launch" 2016-05-08 10:01:52 +02:00
Oliver Kowalke
cd00819982 documentation: update html files 2016-05-03 18:49:24 +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
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
c835d09e02 update of html-files (documentation) 2016-05-01 16:42:59 +02:00
Oliver Kowalke
5c18abdbed update of html-files (documentation) 2016-05-01 09:22:06 +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
Nat Goodspeed
f4bc10e331 Add [,] template for curly apostrophe.
Also add [s] and [t] templates so we can write it[s] rather than it[,]s and
isn[t] rather than isn[,]t.

Remove extraneous spaces from inline template definitions: the spaces were
considered part of the template expansion! This was causing odd spacing where
those templates were used.
2016-04-30 10:10:32 -04:00
Nat Goodspeed
8f59f54dff Add documentation for launch_policy.
Add fiber() and async() overloads accepting launch_policy.

Now that we have launch_policy documentation, cross-link it where it's
mentioned in integration.qbk.
2016-04-29 17:58:49 -04:00
Nat Goodspeed
88f5f06fed Describe updated Fiber / Asio round_robin integration. 2016-04-29 16:26:01 -04:00
Nat Goodspeed
a0a72a1eb0 Use sections rather than headings to add table-of-contents entries. 2016-04-29 16:25:02 -04:00
Oliver Kowalke
57267ec957 remove support for fiber interruption 2016-04-19 18:16:31 +02:00
Nat Goodspeed
9b3559dd49 Remove 'yield_hop' and the whole allow_hop_ mechanism.
Given the necessity for fibers::asio::round_robin to share its ready queue
among all threads calling io_service::run() on the same io_service instance,
the capability to allow hop (or not) in the fibers::asio::yield mechanism is
redundant.
2016-04-06 12:17:35 -04:00
Oliver Kowalke
ff3da9ec0f fix typo in stack.qbk 2016-03-28 20:29:27 +02:00