2
0
mirror of https://github.com/boostorg/fiber.git synced 2026-02-18 14:02:18 +00:00
Commit Graph

210 Commits

Author SHA1 Message Date
Oliver Kowalke
493cb704dc split into fifo and waiting_queue: sleep if nothing to do 2014-03-22 18:09:03 +01:00
Oliver Kowalke
9057a3c365 split round_robin into sched_algorithm + fiber_manager 2014-03-20 20:04:59 +01:00
Oliver Kowalke
ba010422f1 allocate worker_fiber on fiber's stack 2014-03-20 18:14:46 +01:00
Oliver Kowalke
687df5744f remove unnecessary fiber ctor 2014-03-20 08:20:27 +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
431d829776 no intrusive-ptr 2014-03-18 22:01:14 +01:00
Oliver Kowalke
c65b053564 remove temporary files 2014-03-18 19:01:07 +01:00
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