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

186 Commits

Author SHA1 Message Date
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
Oliver Kowalke
6bb976b4d3 fix queues 2013-11-02 14:15:05 +01:00
Oliver Kowalke
99cb841259 some corrections for noexcept specifier 2013-11-02 07:05:03 +01:00
Oliver Kowalke
fbc1e67c25 make fibers thread affin 2013-11-02 06:53:21 +01:00
Oliver Kowalke
beab239538 use thread_specific_ptr in scheduler 2013-11-01 19:34:43 +01:00
Oliver Kowalke
436883ca33 add workstealing round_robin 2013-10-25 18:01:56 +02:00
Oliver Kowalke
a77b36c413 use ws_queue in round_robin 2013-10-24 18:42:38 +02:00
Oliver Kowalke
98f54ad0e4 rename fibers::asio::io_service -> fibers::asio::round_robin 2013-10-24 18:42:07 +02:00
Oliver Kowalke
efb329a9e9 add explicit to fiber-ctor 2013-10-23 23:02:34 +02:00
Oliver Kowalke
6f8d1f726d fix passing fiber_base::ptr_t to fiber ctor for MSVC 2013-10-23 23:00:34 +02:00
Oliver Kowalke
3474425780 fix future<> assing-operators 2013-10-23 19:11:07 +02:00
Oliver Kowalke
c6718b1ee8 add fiber-migration between threads 2013-10-23 18:21:58 +02:00
Oliver Kowalke
3eafc0725f thread-safe mutex' 2013-10-22 14:42:01 +02:00
Oliver Kowalke
bc4478c599 condition thread-safe 2013-10-18 20:29:03 +02:00
Oliver Kowalke
8948ddc12f this_fiber::sleep() is interruption-point 2013-10-18 20:28:25 +02:00
Oliver Kowalke
ee13cc1700 make mutex thread-safe 2013-10-18 17:41:08 +02:00
Oliver Kowalke
ef0367bec4 protect list of wiating fibers in fiber_base 2013-10-17 21:01:12 +02:00