Commit Graph

227 Commits

Author SHA1 Message Date
Oliver Kowalke
4121cac318 add support for timed-operations (wait_for/wait_until) 2013-08-16 21:24:32 +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
ef762d4195 support for fiber_specific_pointer 2013-06-23 12:27:15 +02:00
Oliver Kowalke
3ba86d0e27 let scheduler::instance() return a pointer 2013-06-23 12:24:42 +02:00
Oliver Kowalke
b46af98e7a use boost::allocator_arg_t in promise and packaged_task 2013-06-12 16:57:41 +02:00
Oliver Kowalke
6b5d58d2bb some enhancments 2013-06-09 20:31:38 +02:00
Oliver Kowalke
9dfeb585d6 remove code for fiber migration 2013-03-19 17:44:43 +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
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
c6268b7be3 disable tests for threaded fibers 2013-02-24 07:28:36 +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
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
3d28e8ad54 update unit-tests 2013-01-31 17:35:43 +01:00
Oliver Kowalke
94a20912e9 add printf to test 2013-01-30 19:33:39 +01:00
Oliver Kowalke
4c94271260 loop only once in test for round-robin 2013-01-30 19:26:50 +01:00
Oliver Kowalke
0e8e628269 make 10 iterations for each multithreading test 2013-01-30 18:04:04 +01:00
Oliver Kowalke
bbb7f6c51b update test for fier steeling 2013-01-30 18:03:23 +01:00
Oliver Kowalke
a64a95f888 tests cleaned up 2013-01-30 17:38:39 +01:00
Oliver Kowalke
a6e64fdab0 put count of stolen fibers to stderr 2013-01-29 17:25:50 +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
eb4998448f test fiber steeling changed 2013-01-27 20:36:20 +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
10786c3ed6 stuff for fixin 2013-01-24 20:07:40 +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
1e57ade9ac some checks, tests 2013-01-18 17:46:15 +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
39537ee063 Please enter the commit message for your changes. Lines starting 2013-01-15 19:41:21 +01:00
Oliver Kowalke
2f21317e73 add mt test 2013-01-14 20:26:02 +01:00
Oliver Kowalke
66afe21363 test_round_robin : do not join two times 2013-01-14 20:21:06 +01:00
Oliver Kowalke
a8b32fda25 some fixes related to round_robin and multithreading 2013-01-14 19:53:59 +01:00
Oliver Kowalke
8a823e4119 some fixes related to mt 2013-01-13 17:25:33 +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
df40f8c9f4 add interuption_points() in waiting functions 2013-01-11 18:59:21 +01:00
Oliver Kowalke
52a9432849 nteruption test added 2013-01-10 19:57:59 +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
0cb8afc49d fix some future tests 2013-01-08 20:09:17 +01:00
Oliver Kowalke
46cd4bd112 fix tests 2013-01-08 17:38:16 +01:00
Oliver Kowalke
bd99c579b6 remove event-variables 2013-01-08 17:37:55 +01:00
Oliver Kowalke
3dd45b8a8c manual_reset event 2013-01-07 18:16:00 +01:00
Oliver Kowalke
cad022e0fe refactor auto_reset event 2013-01-07 17:52:39 +01:00
Oliver Kowalke
e04637edaf some mods 2013-01-07 17:25:03 +01:00
Oliver Kowalke
55e03df93b remove this_fiber::run() from tests 2013-01-06 15:08:26 +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
Oliver Kowalke
20803f4c1d release fibers in dtor of round_robin; add asserts in jump-fn 2013-01-05 12:45:42 +01:00
Oliver Kowalke
d37c44807e fix atomic<> related stuff 2013-01-04 20:56:25 +01:00
Oliver Kowalke
74b0d65b56 use sorted vector in round_robin 2013-01-03 20:05:15 +01:00
Oliver Kowalke
40dcccfef1 remove assertions, adapt tests 2013-01-03 06:35:50 +01:00
Oliver Kowalke
f8e68e0987 let fiber::join() throw exceptions 2012-12-29 10:53:11 +01:00
Oliver Kowalke
8594910926 fix namespace alias' in tests 2012-12-26 21:03:12 +01:00
Oliver Kowalke
57991f5b14 add future< T >::then() 2012-12-26 20:57:10 +01:00
Oliver Kowalke
14d40f2d86 priority() functons added to fiber 2012-12-24 07:46:34 +01:00
Oliver Kowalke
cfdcf1d16a interface algorithm, round_robin 2012-12-19 19:37:05 +01:00
Oliver Kowalke
1e248b0216 require to set scheduler for each os-thread 2012-12-17 19:54:34 +01:00
Oliver Kowalke
b0a59e4fb8 default_scheduler moved to public namespace 2012-12-16 20:27:53 +01:00
Oliver Kowalke
86f4df89f3 rename scheduler::swap() to scheduler::replace() 2012-12-16 16:38:49 +01:00
Oliver Kowalke
f306dcc391 scheduler::swap() 2012-12-15 14:36:39 +01:00
Oliver Kowalke
4c13f609ee remove waitfor-functions for fiber 2012-12-14 10:39:55 +01:00
Oliver Kowalke
645281a2ba add fiber::detach() 2012-12-13 17:59:13 +01:00
Oliver Kowalke
81e62e8962 changed directory structure as required by modularized-boost 2012-12-09 15:22:59 +01:00