Commit Graph

1840 Commits

Author SHA1 Message Date
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
e6baf7e078 Merge branch 'develop' 2016-05-03 20:07:39 +02:00
Oliver Kowalke
613ba2723b Merge branch 'develop' 2016-05-03 19:26:16 +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
2f6a8f1f23 Merge branch 'develop' 2016-05-03 18:50:37 +02:00
Oliver Kowalke
cd00819982 documentation: update html files 2016-05-03 18:49:24 +02:00
Oliver Kowalke
43866a4d2e fix comparasion of atomics for MSVC 2016-05-03 18:23:09 +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
f92cb7eb1f Merge branch 'develop' 2016-05-01 19:13:10 +02:00
Oliver Kowalke
f89e5fc7e8 isoem fixes for example adapt_callback 2016-05-01 19:02:57 +02:00
Oliver Kowalke
589004e721 Merge branch 'develop' 2016-05-01 16:43:17 +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
2dfba7101b Merge branch 'develop' 2016-05-01 09:34:08 +02: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
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
Oliver Kowalke
1f6fad626f Merge pull request #82 from nat-goodspeed/asio_doc
Describe updated Fiber / Asio round_robin integration.
2016-04-30 07:26:27 +02:00
Nat Goodspeed
3f7d9623f7 Merge branch 'asio_doc' of github.com:nat-goodspeed/boost-fiber into asio_doc 2016-04-29 18:00:34 -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
a783ec1356 caught typo 2016-04-29 16:49:10 -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
c73bbe60de Merge pull request #81 from nat-goodspeed/always_set_timer
Make round_robin::suspend_until() always set asio timer.
2016-04-29 19:15:27 +02:00
Nat Goodspeed
56a3e7a92e Make round_robin::suspend_until() always set asio timer.
This gives notify() something to cancel if need be.

Avoid resetting the timer to the same abs_time, though.
2016-04-29 09:05:20 -04:00
Oliver Kowalke
66268aeacf fix skynet performance-test 2016-04-28 20:36:47 +02:00
Oliver Kowalke
2dbea898d4 introduction of launch_policies dispatch and post
- dispatch: execute new fiber immediately, suspend current fiber
- post: enqueue new fiber in ready-queue, continue executing current
fiber
2016-04-28 20:35:26 +02:00
oliver Kowalke
d09eb503b8 example asio/autoecho: run server-fiber detached 2016-04-28 08:15:40 +02:00
oliver Kowalke
d53d0e8d99 example asio: remove counter_ in asio/round_robin 2016-04-28 07:50:11 +02:00
Oliver Kowalke
f91c0bb3aa example asio: remove run_svc() 2016-04-27 19:54:52 +02:00
Oliver Kowalke
b2ba1459fa example asio/round_robin: adjust namespaces 2016-04-27 19:47:30 +02:00
Oliver Kowalke
aa95b98aac example autoecho: adjust output 2016-04-27 19:34:54 +02:00
Oliver Kowalke
1f13073372 example autoecho: call io_service::stop() in echo-server
- echo-server has to call io_service::stop() if it was signaled
  to stop accepting new connections
2016-04-27 19:33:11 +02:00
Oliver Kowalke
a1638ad92c example autoecho: stop acceptor
- call acceptor::stop() in the alst echo-client in order to stop
  acceptor
2016-04-27 19:30:39 +02:00