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

139 Commits

Author SHA1 Message Date
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
Oliver Kowalke
3ba86d0e27 let scheduler::instance() return a pointer 2013-06-23 12:24:42 +02:00
Oliver Kowalke
f3193cb2e3 code clean-up 2013-06-17 17:43:21 +02:00
Oliver Kowalke
3dda52415f consolidate wqueue_t and wqueue_work_t 2013-06-17 17:35:19 +02:00
Oliver Kowalke
cb42a47e7c make io_service useable for c++03 compilers too 2013-06-16 16:18:51 +02:00
Oliver Kowalke
de3bc64e4f boost.asio related stuff (fiber-aware io_servic etc.) 2013-06-14 20:37:47 +02:00
Oliver Kowalke
31c764b7bc some code clean-up 2013-06-14 16:53:46 +02:00
Oliver Kowalke
61c3fd4589 some fixes 2013-06-10 20:11:52 +02:00
Oliver Kowalke
6b5d58d2bb some enhancments 2013-06-09 20:31:38 +02:00
Oliver Kowalke
5396888ec3 atomic-ops removed 2013-03-19 18:19:27 +01:00
Oliver Kowalke
9dfeb585d6 remove code for fiber migration 2013-03-19 17:44:43 +01:00