Nat Goodspeed
268922a9e6
Merge branch 'develop' of http://github.com/olk/boost-fiber into develop
2015-09-09 13:51:50 -04:00
Oliver Kowalke
c89410dfd8
uses intrusive::list<> isntread hand-written queues
2015-09-09 19:22:54 +02:00
Nat Goodspeed
6702d7cb9c
Merge branch 'develop' of http://github.com/olk/boost-fiber into develop
2015-09-08 06:21:33 -04:00
Oliver Kowalke
5854743a0a
force segfault in work-sharing example
2015-09-07 22:24:20 +02:00
Oliver Kowalke
3200e419d2
increase amount of fibers and threads
2015-09-07 20:58:22 +02:00
Nat Goodspeed
f28b6fc497
Update shared_ready_queue::main_fiber comments.
2015-09-07 14:55:30 -04:00
Nat Goodspeed
6cf8f4627f
Update work_sharing to never share a thread's main fiber.
...
Instead, when the main fiber is passed to awakened(), stash it in a separate
slot and make pick_next() return it only when the shared queue is empty.
Update ready_fibers() to include a non-empty main_fiber slot.
2015-09-07 14:50:55 -04:00
Oliver Kowalke
6499bb07e7
fiber_context renamed to context
2015-09-07 17:23:59 +02:00
Oliver Kowalke
4dc5aaab59
add example of work-sharing
2015-09-07 11:53:13 +02:00