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

149 Commits

Author SHA1 Message Date
Oliver Kowalke
fc608cdaf7 use symmetric_coroutine<> (from coroutine branch develop) 2014-02-22 21:38:24 +01:00
Oliver Kowalke
1a6b245709 commented some alternative (inperformant) 2013-12-29 21:35:28 +01:00
Oliver Kowalke
1926a21838 some assertions added 2013-12-29 13:24:30 +01:00
Oliver Kowalke
19059fb1cd ioptimize test for fiber in spinlock 2013-12-29 11:34:24 +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
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
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
05af5d856c some improved spinlock 2013-11-03 13:58:40 +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
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
84467ecfcc some formating the code 2013-10-28 14:53:48 +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
c6718b1ee8 add fiber-migration between threads 2013-10-23 18:21:58 +02:00
Oliver Kowalke
8e04df986c multithreaded condition_variable 2013-10-22 19:32:10 +02:00
Oliver Kowalke
3eafc0725f thread-safe mutex' 2013-10-22 14:42:01 +02:00
Oliver Kowalke
bdbe2ea1f7 mutex' call lk.unlock() instead splk_.unlock() 2013-10-18 20:29:18 +02:00
Oliver Kowalke
bc4478c599 condition thread-safe 2013-10-18 20:29:03 +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
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
1507e34d02 cleanup 2013-10-17 19:20:36 +02:00
Oliver Kowalke
4a483d3215 do not throw in start_fiber_() 2013-10-02 17:13:00 +02:00
Oliver Kowalke
decba3f33f std::terminate() called if exception not catched 2013-10-01 19:44:06 +02:00
Oliver Kowalke
abff6f6aa8 fix for MacOS X reated to scheduler::instance_ 2013-09-28 08:22:37 +02:00
Oliver Kowalke
73e87bc599 fix bug related to fiber::join() 2013-09-28 08:20:59 +02:00
Oliver Kowalke
60031f8ec1 Nat's patch applied (Mac OS X related stuff) 2013-09-26 19:25:24 +02:00
Oliver Kowalke
a71c8478fe make fiber::detach() not inlined 2013-09-13 17:38:09 +02:00
Oliver Kowalke
dfafec5c8b run scheduler after each asio::spawn and usage of yield_context 2013-09-11 09:26:51 +02:00
Oliver Kowalke
8734e49176 remove obsolete classes/files 2013-09-09 09:41:04 +02:00
Oliver Kowalke
0eeaf2e9ec some clean-up of the code 2013-09-09 09:33:11 +02:00
Oliver Kowalke
e996d2e28f use coroutines inside fiber 2013-09-09 08:52:26 +02:00
Oliver Kowalke
104278aa8a some fixes for auto-linking on WINDOWS 2013-08-18 21:03:29 +02:00
Oliver Kowalke
9d67164839 adapt io_service to wait-op requirements 2013-08-18 10:52:36 +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