Oliver Kowalke
|
7be95bfd80
|
include header fiber_base.hpp instead of notify.hpp
|
2014-03-18 18:59:15 +01:00 |
|
Oliver Kowalke
|
6526dc5835
|
Merge branch 'feature/yield' into develop
Conflicts:
include/boost/fiber/detail/fifo.hpp
include/boost/fiber/detail/worker_fiber.hpp
include/boost/fiber/round_robin.hpp
performance/preallocated_stack_allocator.hpp
src/detail/worker_fiber.cpp
src/round_robin.cpp
|
2014-03-17 19:12:13 +01:00 |
|
Oliver Kowalke
|
3b882ade23
|
use fifo in round_robin
|
2014-03-16 22:07:01 +01:00 |
|
Oliver Kowalke
|
8cbca1363e
|
use fifo as waiting-queue
|
2014-03-16 16:54:18 +01:00 |
|
Oliver Kowalke
|
a3e8944fd0
|
equeue fiber first
|
2014-03-16 13:44:36 +01:00 |
|
Oliver Kowalke
|
6edddcbabc
|
use fifo as waiting-queue
|
2014-03-16 13:33:07 +01:00 |
|
Oliver Kowalke
|
12505646ae
|
formating round_robin.hpp
|
2014-03-16 11:11:31 +01:00 |
|
Oliver Kowalke
|
9f7f74f662
|
use symmetric_coroutine<>::yield_type::operator()()
|
2014-03-15 19:16:13 +01:00 |
|
Oliver Kowalke
|
8884e791b1
|
remove algorithm::get_main_id()
|
2014-03-08 22:24:18 +01:00 |
|
Oliver Kowalke
|
1a4703c4cb
|
Revert " hold main_fiber::ptr_t in round_robin"
This reverts commit dc0216504e.
|
2014-03-08 20:29:32 +01:00 |
|
Oliver Kowalke
|
49d223fe1a
|
resume fiber on creation
|
2014-03-08 19:38:12 +01:00 |
|
Oliver Kowalke
|
5d6c392463
|
use priority_queue
|
2014-03-08 18:55:37 +01:00 |
|
Oliver Kowalke
|
dc0216504e
|
hold main_fiber::ptr_t in round_robin
|
2014-03-08 18:54:27 +01:00 |
|
Oliver Kowalke
|
a1e3c1d081
|
merge from branch feature/tls
|
2014-03-08 10:16:22 +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
|
7a626563f7
|
add missing std::allocator<> to fiber ctor
|
2014-02-28 20:45:03 +01:00 |
|
Oliver Kowalke
|
486879ace9
|
fix invalid return type in bounded_queue<>
|
2014-02-28 20:24:38 +01:00 |
|
Oliver Kowalke
|
353cb27614
|
fix returning reference from temporary in sharred_state
|
2014-02-27 17:12:03 +01:00 |
|
Oliver Kowalke
|
7cf2cabc99
|
allow different stack-allocators
|
2014-02-26 19:40:28 +01:00 |
|
Oliver Kowalke
|
12d97c57cd
|
use ecplicit-operator-bool from boost
|
2014-02-24 10:42:20 +01:00 |
|
Oliver Kowalke
|
38ac7f4d55
|
reduce inecessary code
|
2014-02-23 19:20:45 +01:00 |
|
Oliver Kowalke
|
fc608cdaf7
|
use symmetric_coroutine<> (from coroutine branch develop)
|
2014-02-22 21:38:24 +01:00 |
|
Oliver Kowalke
|
2b37b33011
|
use asymmetric_coroutine<> from (coroutine branch develop)
|
2014-02-22 21:26:28 +01:00 |
|
Oliver Kowalke
|
2d082fb420
|
fix signature and behaviour of shared_future< R >::get()
|
2014-01-13 20:52:55 +01:00 |
|
Oliver Kowalke
|
7d4c582b33
|
fix formating
|
2014-01-13 20:52:55 +01:00 |
|
olk
|
b3f5c61fa2
|
replace comment to include guard in task_base.hpp
|
2014-01-07 07:46:46 +01:00 |
|
Oliver Kowalke
|
baa2828df6
|
move re-locking of external lock in branch
|
2013-12-29 21:03:26 +01:00 |
|
Mario Lang
|
4ba6fbc650
|
Merge branch 'master' of https://github.com/olk/boost-fiber
|
2013-12-29 14:02:47 +01:00 |
|
Mario Lang
|
d471d7133d
|
Fix some typos.
|
2013-12-29 14:00:36 +01:00 |
|
Oliver Kowalke
|
1926a21838
|
some assertions added
|
2013-12-29 13:24:30 +01:00 |
|
Oliver Kowalke
|
2c5fd56a6c
|
use atomics for intrusive_ptr of shared_state
|
2013-12-29 11:52:54 +01:00 |
|
Oliver Kowalke
|
bc87dc3415
|
use atomics for intrusive_ptr of shared_state
|
2013-12-29 11:32:25 +01:00 |
|
Oliver Kowalke
|
67ca128a8f
|
rename future_base to shared_state
|
2013-12-29 08:06:21 +01:00 |
|
Oliver Kowalke
|
40d469d346
|
let notifier for thread's initial context allocate by algoritm
|
2013-12-28 10:19:06 +01:00 |
|
Oliver Kowalke
|
a24d3d05e8
|
add missing noexcept specifier for asio::round_robin
|
2013-12-27 20:32:47 +01:00 |
|
Oliver Kowalke
|
2c9e034f0b
|
move this_thread::yield() into round_robin schedulers
|
2013-12-16 17:38:04 +01:00 |
|
Oliver Kowalke
|
d7c0d5d046
|
call this_thread::yield at some points
|
2013-12-15 20:02:06 +01:00 |
|
Oliver Kowalke
|
4cc7c54535
|
main context and this_fiber::thread_affinity()
|
2013-12-15 17:55:19 +01:00 |
|
Oliver Kowalke
|
9a9d0f03a5
|
man context calls scheduler::instance()->run() in sleep()
|
2013-12-15 17:50:15 +01:00 |
|
Oliver Kowalke
|
b8548fd147
|
main context call scheduler::instance()->run() in yield()
|
2013-12-15 17:44:22 +01:00 |
|
Oliver Kowalke
|
d03bc6a984
|
update scheduling algorithm as Nad suggested
|
2013-12-04 18:58:36 +01:00 |
|
Oliver Kowalke
|
511b740ec2
|
default-scheduler allocated
|
2013-12-02 19:45:48 +01:00 |
|
Oliver Kowalke
|
abec3a5da6
|
fix typo: bounded_queue::pop_wait_for()
|
2013-11-28 19:45:57 +01:00 |
|
Oliver Kowalke
|
64529df3b4
|
changed interface of (un)bounded_queue
|
2013-11-17 18:55:32 +01:00 |
|
Oliver Kowalke
|
2f522a9688
|
fix round-robin for asio
|
2013-11-17 09:49:41 +01:00 |
|
Oliver Kowalke
|
1c8cd1d880
|
protect mutex' with spunlock only
|
2013-11-05 16:13:29 +01:00 |
|
Oliver Kowalke
|
f3d33345a0
|
fix scheduler::instance()
|
2013-11-04 22:10:43 +01:00 |
|
Oliver Kowalke
|
64c372d059
|
add thread_affinity() to fiber's public interface
|
2013-11-02 16:56:24 +01:00 |
|
Oliver Kowalke
|
393797a94e
|
fix queues related to closed queue and poping values
|
2013-11-02 14:49:25 +01:00 |
|