oliver Kowalke
8d53732808
fix renaming of ready_queue_type in examples
2017-03-03 08:15:38 +01:00
Oliver Kowalke
7843617641
fix asio integration, thx to Arnaud Kapp
2016-11-24 19:25:21 +01:00
oliver Kowalke
de58b076eb
fix asio example: scheduler-algorithm should not spin
2016-11-18 08:29:20 +01:00
Oliver Kowalke
97ce37e8e8
update asio examples
2016-10-10 08:50:10 +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
Nat Goodspeed
88f5f06fed
Describe updated Fiber / Asio round_robin integration.
2016-04-29 16:26:01 -04: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
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
e8f3641ae6
remove shared-ready-queue from asio/round_robin
2016-04-26 14:35:30 +02:00
oliver Kowalke
76127cc268
asio example: scheduler must not move lambda
...
- the lambda posted inside iasio::rond_robin will be shared by different
threads running io_service::run()
- the lambda must remain/executed by the thread
- re-introduction of run_svc() method
2016-04-12 08:31:49 +02:00
oliver Kowalke
171b2be879
assert in autoecho aexample
...
- assert if context, that has to be migrated, is equal to active context
because that should never be possible
2016-04-11 08:21:34 +02:00
oliver Kowalke
ffffd322bb
imake asio example thread-safe
2016-03-01 08:56:15 +01:00
Oliver Kowalke
e43cf5b1ac
enum for context types
2016-02-15 19:49:22 +01:00
Oliver Kowalke
1ace8bbb36
make async_result::get() an interruption point
2016-01-31 18:14:24 +01:00
Oliver Kowalke
3ac9dde4d0
update asio integration example
2016-01-31 16:48:04 +01:00
Oliver Kowalke
62b2a52857
some fixes for asio integration - promise problematic
2016-01-31 11:00:08 +01:00
Oliver Kowalke
51f4cb1a26
update asio integration in directory examples
2016-01-29 17:04:15 +01:00
Oliver Kowalke
3cfe41c01e
fix asio/round_robin.hpp
...
block thread only in io_service::rune_one() if no fibers ready
2016-01-26 11:54:27 +01:00
Oliver Kowalke
dd661d4e5d
attempt of better integration with asio
2016-01-25 21:48:18 +01:00
Oliver Kowalke
726d4d51b9
++14 polishing
2015-12-01 21:07:11 +01:00
Oliver Kowalke
edd439233a
fixups for asio examples
2015-10-17 14:41:53 +02:00
Oliver Kowalke
5345d810a8
asio: executed dummy fiber after sleep-timer expires
2015-10-14 13:43:14 +02:00
Oliver Kowalke
b032457397
asio examples added
2015-10-10 21:50:22 +02:00