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

208 Commits

Author SHA1 Message Date
Oliver Kowalke
5ff11b0df4 example fiber-steeling updatedd 2013-03-16 19:57:15 +01:00
Oliver Kowalke
7ab57b66f7 examples updated 2013-03-16 19:54:59 +01:00
Oliver Kowalke
7c84b5bac6 release lock in notify() earlier 2013-03-13 19:30:25 +01:00
Oliver Kowalke
dcfb7be88d release lock in unlock() earlier 2013-03-13 19:29:55 +01:00
Oliver Kowalke
8d94982366 swap waiting container;rename container of waiting fibers 2013-03-13 19:27:34 +01:00
Oliver Kowalke
6cc399c598 new future impl: support for references as return type 2013-03-13 19:24:03 +01:00
Oliver Kowalke
3013006b0c tests modified 2013-03-12 18:00:17 +01:00
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
b752574dfa disable future tests and example 2013-02-27 20:16:03 +01:00
Oliver Kowalke
faa8e41890 move ref-counting into detail::notify 2013-02-24 09:43:50 +01:00
Oliver Kowalke
c6268b7be3 disable tests for threaded fibers 2013-02-24 07:28:36 +01:00
Oliver Kowalke
e27dd76d84 release lock in notify-functions for condition/mutex at last 2013-02-24 07:27:35 +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
df5c38362b round_robin - memory_order_seq_cst is default 2013-02-23 14:41:47 +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
olk
8dc653f658 Merge pull request #2 from rjpower/patch-1
Use verbatim block for build instructions.
2013-02-22 08:21:55 -08:00
Russell Power
a6a7323dd2 Use verbatim block for build instructions. 2013-02-22 10:17:36 -05:00
Oliver Kowalke
efe010ca7a bild isntructions 2013-02-21 16:34:09 +01:00
olk
81e7a0d2f6 Update README.md 2013-02-21 16:31:44 +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
512a0a1ecb fixe name of README.md 2013-02-03 19:49:05 +01:00
Oliver Kowalke
51591baff6 update README.md 2013-02-03 19:45:53 +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
99a7bd29a0 split in to two tests ->wq with future and with condition 2013-02-03 15:52:03 +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
1029fb1464 call yield in spinlock::lock() 2013-02-03 15:44:14 +01:00
Oliver Kowalke
b90459f94d add thread_yield() 2013-02-03 15:43:35 +01:00
Oliver Kowalke
139ac51345 prety output of test_fiber_steeling 2013-01-31 19:16:35 +01:00
Oliver Kowalke
32cadb97bd change output of test_fiber_steeling 2013-01-31 19:15:09 +01:00
Oliver Kowalke
7d25efed7d fix condition::notiy() 2013-01-31 18:53:48 +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
5dcab29a55 fix mutex::unlock() 2013-01-31 18:49:19 +01:00
Oliver Kowalke
bc378ad0b6 fix mutext::lock() 2013-01-31 18:49:01 +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