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

91 Commits

Author SHA1 Message Date
Oliver Kowalke
126f06d44d new future impl : packaged_task 2013-03-11 20:52:57 +01:00
Oliver Kowalke
ef1e8ff674 skeleton of packaged_task 2013-03-07 22:02:26 +01:00
Oliver Kowalke
f742b5f4dc reorganize files relaed to future 2013-03-07 17:36:57 +01:00
Oliver Kowalke
5cb733ad7d new future impl: shared_future constructed from rv-reference of future 2013-03-04 19:49:48 +01:00
Oliver Kowalke
0b6cbe83ae new future impl: shared_future 2013-03-03 18:23:51 +01:00
Oliver Kowalke
12229bbea2 new future impl: 1.part: promise, future, future_base, future_object 2013-03-03 16:54:53 +01:00
Oliver Kowalke
faa8e41890 move ref-counting into detail::notify 2013-02-24 09:43:50 +01:00
Oliver Kowalke
92a43d3391 rename fiber::spawn_() to fiber::start_fiber_()nd impl_ to fiber_data_ 2013-02-24 07:26:49 +01:00
Oliver Kowalke
34b7c7b621 condition uses int for state 2013-02-23 14:41:33 +01:00
Oliver Kowalke
8f0ba61854 mutext uses int for state 2013-02-23 14:41:08 +01:00
Oliver Kowalke
ca0a86b611 spinlock uses int for state 2013-02-23 14:40:34 +01:00
Oliver Kowalke
36f4564f81 fiber_base uses int for state 2013-02-23 14:40:13 +01:00
Oliver Kowalke
c72d952e2a remove is_fiberized() 2013-02-23 10:52:09 +01:00
Oliver Kowalke
efe010ca7a bild isntructions 2013-02-21 16:34:09 +01:00
Oliver Kowalke
68615292d2 remove wake_up/woke_up -> use of is_ready/set_ready instead 2013-02-17 17:40:08 +01:00
Oliver Kowalke
6fa99fd928 remove unused code 2013-02-03 15:55:43 +01:00
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