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

75 Commits

Author SHA1 Message Date
Oliver Kowalke
85bb5a8a31 mutex uses notify interface for notifications 2013-02-03 15:55:29 +01:00
Oliver Kowalke
37f2ad6f48 condition uses notify interface for notifications 2013-02-03 15:55:10 +01:00
Oliver Kowalke
9c4bbb2ba4 introduce notify for fiber_base and round_robin 2013-02-03 15:54:41 +01:00
Oliver Kowalke
5c7933d9f9 remove yield_break() 2013-02-03 15:51:10 +01:00
Oliver Kowalke
83b751b62c algorithm::wait() unlock spinlock 2013-02-03 15:49:19 +01:00
Oliver Kowalke
0d990008fe use intrusive_ptr for fiber_base 2013-02-03 15:46:41 +01:00
Oliver Kowalke
b90459f94d add thread_yield() 2013-02-03 15:43:35 +01:00
Oliver Kowalke
a40c0bd4ec fix condition::wait() 2013-01-31 18:53:16 +01:00
Oliver Kowalke
bd1373d18d remove unused check_mtx_ from condition 2013-01-31 18:51:59 +01:00
Oliver Kowalke
ca232b1f50 range based waitfor_all/waitfor_any for future<> 2013-01-31 18:47:44 +01:00
Oliver Kowalke
73888dec47 remove this_fiber::run() 2013-01-31 18:46:30 +01:00
Oliver Kowalke
a80f153ae2 add assertions to check for state_running 2013-01-31 18:45:16 +01:00
Oliver Kowalke
c781386ed7 replace add() by spwan() in algorithm 2013-01-31 18:06:40 +01:00
Oliver Kowalke
49fcc4df9f catch fiber_interrupted in unbounded_channel 2013-01-31 18:04:53 +01:00
Oliver Kowalke
8f82a2522c algorithm::wait() does not take spinlock unique-lock 2013-01-31 18:03:45 +01:00
Oliver Kowalke
548cb08672 remove timed_wait() operations
- condition and future<> do not support timed wait
2013-01-31 17:57:01 +01:00
Oliver Kowalke
232c9118d5 add comment regarding to derived code 2013-01-31 17:57:01 +01:00
Oliver Kowalke
9f8e1b4d06 fix fibers not operator 2013-01-30 19:26:23 +01:00
Oliver Kowalke
ecea311e65 fiber operator safe_bool() and operator! not depended on joinable() 2013-01-30 19:15:34 +01:00
Oliver Kowalke
957a07333f remove is_terminated() in joinable() 2013-01-30 17:48:52 +01:00
Oliver Kowalke
b427b4c589 use spinlock in fiber_base 2013-01-29 17:28:37 +01:00
Oliver Kowalke
bdb613a7bf some test code 2013-01-28 22:00:46 +01:00
Oliver Kowalke
d371f16603 round_robin::migrate_to does accept reference 2013-01-28 18:15:06 +01:00
Oliver Kowalke
f35319daf2 condition:wait check is fiber and call run if not 2013-01-28 18:13:10 +01:00
Oliver Kowalke
41eda947d2 move fiber in migrate_to 2013-01-27 12:44:48 +01:00
Oliver Kowalke
f44216ddf3 mods 2013-01-27 11:12:49 +01:00
Oliver Kowalke
0abfc511bb tests 2013-01-27 10:14:15 +01:00
Oliver Kowalke
007f259780 fix bugs in config.hpp 2013-01-26 21:58:12 +01:00
Oliver Kowalke
10786c3ed6 stuff for fixin 2013-01-24 20:07:40 +01:00
Oliver Kowalke
b8346b0ef0 use wake_up() 2013-01-23 21:47:29 +01:00
Oliver Kowalke
480aaed74d futures use condition:wait() only 2013-01-23 21:34:02 +01:00
Oliver Kowalke
97fb1c80ac some modes: use this_fiber in future.hpp 2013-01-23 19:48:27 +01:00
Oliver Kowalke
319d781be0 updates 2013-01-22 17:38:58 +01:00
Oliver Kowalke
d308e3200d code mods 2013-01-21 17:52:53 +01:00
Oliver Kowalke
e28cd2c3ff some modifications -> wqueue loop 2013-01-17 20:04:01 +01:00
Oliver Kowalke
80c2aa3f40 fixes for spawn_() 2013-01-17 19:18:54 +01:00
Oliver Kowalke
390a1a865b some modification for worksteeling + synchr. 2013-01-16 20:23:56 +01:00
Oliver Kowalke
a8b32fda25 some fixes related to round_robin and multithreading 2013-01-14 19:53:59 +01:00
Oliver Kowalke
b97e265a49 rethrow fiber_interrupted + tests fixed 2013-01-13 16:01:47 +01:00
Oliver Kowalke
baf1dc8613 multithreaded tests 2013-01-13 13:49:03 +01:00
Oliver Kowalke
1382e4eab6 some fixed for concurrent access support 2013-01-12 20:50:33 +01:00
Oliver Kowalke
7a3a019c80 protect read-queue in scheduler by spinlock 2013-01-12 07:29:20 +01:00
Oliver Kowalke
1fb4a5987a rename worksteeling functions of round_robin 2013-01-12 07:23:09 +01:00
Oliver Kowalke
df40f8c9f4 add interuption_points() in waiting functions 2013-01-11 18:59:21 +01:00
Oliver Kowalke
cff07a3645 interruption 2013-01-10 19:51:34 +01:00
Oliver Kowalke
f18136562f spin_mutext -> soinlock; fixes 2013-01-09 17:09:16 +01:00
Oliver Kowalke
bd99c579b6 remove event-variables 2013-01-08 17:37:55 +01:00
Oliver Kowalke
e04637edaf some mods 2013-01-07 17:25:03 +01:00
Oliver Kowalke
3353829c0f remover sleep() 2013-01-06 14:19:11 +01:00
Oliver Kowalke
2903581791 fix condition/round_robin 2013-01-06 14:10:50 +01:00