Oliver Kowalke
7b35699b6e
Revert "Nat Goodspeed:"
...
This reverts commit 1e751d7dbf .
2014-11-20 18:17:08 +01:00
Oliver Kowalke
1e751d7dbf
Nat Goodspeed:
...
- Change some doc references from 'algorithm' to 'sched_algorithm'.
- Initial cut at supporting arbitrary user-coded scheduler properties.
- Set fiber_properties::sched_algo_ every time through awakened().
- Define sched_algorithm methods on fiber_base*, not worker_fiber*.
- Simplify detail::fifo by making tail_ point to last link pointer.
- Reimplement waiting_queue::push() using pointer-to-pointer trick.
- Reimplement waiting_queue::move_to() using fiber_base** scan.
- Make bounded_queue::tail_ a ptr* to simplify appending new nodes.
- Make unbounded_queue::tail_ a ptr* to simplify linking new nodes.
- Remove thread_affinity flag and access methods.
- Re-add thread_affinity specific to workstealing_round_robin.
- Remove 'priority' for every fiber, and its support methods.
2014-11-12 20:03:12 +01:00
Oliver Kowalke
9057a3c365
split round_robin into sched_algorithm + fiber_manager
2014-03-20 20:04:59 +01:00
Oliver Kowalke
cf90b40978
class fiber_group removed
2014-03-19 21:29:05 +01:00
Oliver Kowalke
228aae6833
do not use reference-counting
2014-03-19 19:55:56 +01:00
Oliver Kowalke
5b6d77b6b5
renaming of fiber classes
2014-03-05 17:30:11 +01:00
Oliver Kowalke
67111d3e58
workstealing round-robin scheduler moved to examples
2014-03-04 18:01:42 +01:00
Oliver Kowalke
dee8c72d2a
rename boost.strand to boost.fiber
2013-12-16 17:58:20 +01:00
Oliver Kowalke
436883ca33
add workstealing round_robin
2013-10-25 18:01:56 +02:00
Oliver Kowalke
98f54ad0e4
rename fibers::asio::io_service -> fibers::asio::round_robin
2013-10-24 18:42:07 +02:00
Oliver Kowalke
d924f5aa87
spinlock added
2013-10-17 20:55:16 +02:00
Oliver Kowalke
ec8a11e60c
atomic fiber::state_
2013-10-17 19:21:26 +02:00
Oliver Kowalke
2a6ea310a1
fix linkingissue
2013-09-28 16:53:04 +02:00
Oliver Kowalke
84d2a50491
fix Jamfiles and multithreading
2013-09-28 10:24:47 +02:00
Oliver Kowalke
8734e49176
remove obsolete classes/files
2013-09-09 09:41:04 +02:00
Oliver Kowalke
e996d2e28f
use coroutines inside fiber
2013-09-09 08:52:26 +02:00
Oliver Kowalke
5afff7e0f9
fix libname for install process
2013-08-18 21:02:39 +02:00
Oliver Kowalke
4121cac318
add support for timed-operations (wait_for/wait_until)
2013-08-16 21:24:32 +02:00
Oliver Kowalke
94482d25b6
add time-point to schedulable fiber
2013-08-13 18:23:53 +02:00
Oliver Kowalke
f06b6cf0d4
fix auto-link in config.hpp
2013-08-13 10:27:02 +02:00
Oliver Kowalke
77b8f1270c
add recursive_mutex
2013-06-25 17:32:40 +02:00
Oliver Kowalke
50441a8980
fiber_group added
2013-06-23 13:02:55 +02:00
Oliver Kowalke
de3bc64e4f
boost.asio related stuff (fiber-aware io_servic etc.)
2013-06-14 20:37:47 +02:00
Oliver Kowalke
6b5d58d2bb
some enhancments
2013-06-09 20:31:38 +02:00
Oliver Kowalke
5396888ec3
atomic-ops removed
2013-03-19 18:19:27 +01:00
Oliver Kowalke
12229bbea2
new future impl: 1.part: promise, future, future_base, future_object
2013-03-03 16:54:53 +01:00
Oliver Kowalke
b90459f94d
add thread_yield()
2013-02-03 15:43:35 +01:00
Oliver Kowalke
c23397b018
remove dependenxcy to bosot.chrono and boost.thread
2013-01-31 17:35:02 +01:00
Oliver Kowalke
97fb1c80ac
some modes: use this_fiber in future.hpp
2013-01-23 19:48:27 +01:00
Oliver Kowalke
df40f8c9f4
add interuption_points() in waiting functions
2013-01-11 18:59:21 +01:00
Oliver Kowalke
f18136562f
spin_mutext -> soinlock; fixes
2013-01-09 17:09:16 +01:00
Oliver Kowalke
46cd4bd112
fix tests
2013-01-08 17:38:16 +01:00
Oliver Kowalke
77e1b216e0
use atomic operations
2012-12-31 11:34:02 +01:00
Oliver Kowalke
cfdcf1d16a
interface algorithm, round_robin
2012-12-19 19:37:05 +01:00
Oliver Kowalke
b0a59e4fb8
default_scheduler moved to public namespace
2012-12-16 20:27:53 +01:00
Oliver Kowalke
fb79b6eccb
move scheduler in public namespace
2012-12-14 12:33:37 +01:00
Oliver Kowalke
35ac18fa73
scheduler is interface; default_scheduler added
2012-12-14 10:40:35 +01:00
Oliver Kowalke
81e62e8962
changed directory structure as required by modularized-boost
2012-12-09 15:22:59 +01:00