Oliver Kowalke
d66575e2e6
fiber_manager renamed to scheduler
2015-09-07 17:35:37 +02:00
Oliver Kowalke
6499bb07e7
fiber_context renamed to context
2015-09-07 17:23:59 +02:00
Oliver Kowalke
26ea3aa41c
fix performace footnote issue
2015-09-05 15:29:42 +02:00
Oliver Kowalke
c4cfef7148
fix documentation issue related to footnote in table
2015-09-05 15:24:30 +02:00
Oliver Kowalke
2dbdd73e6e
fix performance tests for std::thread
2015-09-05 15:21:43 +02:00
Oliver Kowalke
f8c97ffa16
initialize duration with zero
2015-09-05 13:49:29 +02:00
Oliver Kowalke
2e26806bb3
update performance tests and correct values in performance docu
2015-09-05 13:41:03 +02:00
Oliver Kowalke
c24c73dc11
documentation: hint for stack allocation in performance tests
2015-09-03 20:28:08 +02:00
Nat Goodspeed
d653cbdcc6
Finish proofreading pass.
...
Add a note to the condition_variable::wait_for(..., pred) overload.
fiber_specific_ptr::reset() has no default argument.
Remove mention of launch policy deferred, since no API accepts a launch
policy argument.
Copy construction or copy assignment of a shared_future leaves other.valid()
unchanged. It won't be 'true' unless it was 'true' before.
Mention that [shared_]future::get_exception_ptr() does not invalidate.
Note that 'blocks' and 'suspends' are used interchangeably.
Add some cross-references; add link to std::allocator_arg_t. Clarify the
cross-reference to the paragraph describing BOOST_FIBERS_NO_ATOMICS.
Reformat some overly-long source lines.
2015-09-03 09:16:09 -04:00
Nat Goodspeed
b465af2c39
Merge branch 'develop' of github.com:olk/boost-fiber into develop
2015-09-02 16:59:44 -04:00
Nat Goodspeed
abc1aa610e
Proofreading pass continues through stack allocation.
2015-09-02 16:59:06 -04:00
Oliver Kowalke
a173c047a6
update documentation
2015-09-02 19:41:08 +02:00
Nat Goodspeed
2119ead28d
Add note about this_fiber::properties<>() possibly yielding.
2015-09-02 12:07:57 -04:00
Nat Goodspeed
227b621e43
Continuing proofreading pass
2015-09-01 21:07:53 -04:00
Nat Goodspeed
aeaef6510f
Reverse advice about when to set the properties for a new fiber.
...
Change which example code we show for this_fiber::properties<>() and
fiber::properties<>().
2015-09-01 19:55:33 -04:00
Nat Goodspeed
1007d7db6d
Remove fiber::properties<>() requirement to have been scheduled once.
...
Since instantiating a fiber object immediately passes it to the scheduler,
it should be impossible to violate that precondition.
2015-09-01 19:54:55 -04:00
Oliver Kowalke
847d84e50e
Merge pull request #59 from nat-goodspeed/develop
...
Notes about fiber launch and barrier awakening.
2015-09-01 17:41:26 +02:00
Oliver Kowalke
82143be5aa
update documentation + formating
2015-09-01 17:32:07 +02:00
Nat Goodspeed
518709249b
Merge branch 'develop' of github.com:olk/boost-fiber into develop
2015-09-01 11:26:36 -04:00
Nat Goodspeed
90d8e059f0
Notes about fiber launch and barrier awakening.
2015-09-01 11:25:36 -04:00
Oliver Kowalke
fefffd37eb
update documentation
2015-09-01 17:17:38 +02:00
Oliver Kowalke
d15ea79bfa
Merge pull request #58 from nat-goodspeed/develop
...
Start of proofreading pass
2015-09-01 07:59:02 +02:00
Oliver Kowalke
e91bbf1274
doucmentation: fix references to files in performance.qbk
2015-09-01 06:39:50 +02:00
Nat Goodspeed
c6ccbbc112
Add footnote about yield() being insufficient to interrupt a detached fiber.
2015-08-31 20:30:57 -04:00
Nat Goodspeed
f5c153bf2c
Merge branch 'develop' of github.com:olk/boost-fiber into develop
2015-08-31 20:12:13 -04:00
Nat Goodspeed
f3d80ef589
Update some remarks about Asio; add cross-references.
2015-08-31 20:11:05 -04:00
Oliver Kowalke
6a1230f02f
fix formating in documentation
2015-08-31 21:32:12 +02:00
Nat Goodspeed
d8f82dfb09
Fix table descriptions, appending source-file links below each.
...
Too bad we can't embed such links within a table description.
2015-08-31 12:41:50 -04:00
Nat Goodspeed
b81a65c566
Add note about interrupting detached fiber at main-fiber shutdown.
2015-08-31 12:34:38 -04:00
Nat Goodspeed
58fa3add01
Change set_scheduling_algorithm() to use_scheduling_algorithm<>().
2015-08-31 12:21:53 -04:00
Nat Goodspeed
23bcafa0be
Add note about barrier reset behavior.
2015-08-31 12:03:52 -04:00
Nat Goodspeed
62d7060475
Discuss destroying future before corresponding promise::set_value().
2015-08-31 11:44:17 -04:00
Nat Goodspeed
b491696b54
Clarify that neither ~future() nor ~shared_future() blocks.
2015-08-31 11:37:42 -04:00
Nat Goodspeed
e3bb470376
Fill in section on adapting to nonblocking I/O.
2015-08-31 11:29:26 -04:00
Nat Goodspeed
2ed2bb4827
Add when_all_members() description.
2015-08-31 10:38:40 -04:00
Nat Goodspeed
f15fccb4b9
Add wait_all_collect_errors() description.
2015-08-31 10:08:31 -04:00
Nat Goodspeed
cc8acb1fee
Add wait_all_until_error(), wait_all_until_error_source() description.
2015-08-31 10:00:38 -04:00
Nat Goodspeed
56191d5190
Add wait_all_values(), wait_all_values_source() description.
2015-08-31 08:15:06 -04:00
Nat Goodspeed
5cb215f741
Add wait_all_simple() description.
2015-08-30 20:49:45 -04:00
Nat Goodspeed
6d8821cf0b
Add cross-references between when_any examples.
2015-08-30 20:12:22 -04:00
Nat Goodspeed
53127efe42
Add wait_first_value_het() description.
2015-08-30 19:56:40 -04:00
Nat Goodspeed
7e9213779e
Break 'when_any' etc. into subsections.
...
This puts subsection entries into the table of contents.
2015-08-30 19:39:50 -04:00
Nat Goodspeed
ec251c3c02
Add wait_first_success() description.
2015-08-30 19:28:44 -04:00
Nat Goodspeed
bed11fe0a1
Add wait_first_outcome() description.
2015-08-30 18:42:50 -04:00
Nat Goodspeed
93a73835b8
Add [mdash] template and use it to replace --.
...
Also place an anchor concerning uncaught exceptions.
2015-08-30 18:36:10 -04:00
Nat Goodspeed
70b79515bf
Correct phrasing for [xchannel_push_effects] template.
...
Affects wording for unbounded_channel::push(), bounded_channel::push().
2015-08-30 18:27:06 -04:00
Nat Goodspeed
4d1984e490
Add warning about tying lifespan of barrier to any waiting fiber.
2015-08-30 08:21:26 -04:00
Nat Goodspeed
455b160aad
Add wait_first_value() description.
2015-08-29 21:34:18 -04:00
Nat Goodspeed
a8debb9201
Add first when_any passage (wait_first_simple())... work in progress.
2015-08-29 19:42:53 -04:00
Nat Goodspeed
8e21537c3e
Recommend std::unique_lock instead of std::lock_guard for mutex.
...
The condition_variable examples spoke about std::lock_guard. But this doesn't
work in practice, as lock_guard has no unlock() method. Use unique_lock
instead, as test_condition.cpp does.
2015-08-25 12:56:53 -04:00