Commit Graph

1840 Commits

Author SHA1 Message Date
Oliver Kowalke
1944e657c7 remove unused test var 2013-01-30 17:51:40 +01:00
Oliver Kowalke
957a07333f remove is_terminated() in joinable() 2013-01-30 17:48:52 +01:00
Oliver Kowalke
58c09646e7 check for self-joining 2013-01-30 17:39:23 +01:00
Oliver Kowalke
a64a95f888 tests cleaned up 2013-01-30 17:38:39 +01:00
Oliver Kowalke
b427b4c589 use spinlock in fiber_base 2013-01-29 17:28:37 +01:00
Oliver Kowalke
c176b4830b check empty waiting -list in dtor of condition 2013-01-29 17:27:49 +01:00
Oliver Kowalke
25244d681d change assertions in round-robin related to active-fiber 2013-01-29 17:26: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
07c8a8ea98 efficent condition notify 2013-01-28 18:13:33 +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
ee565aa1a7 unlock in mutex more efficient 2013-01-28 18:07:11 +01:00
Oliver Kowalke
95f989f9ac do yield if fiber exec run() otherwise in mutex 2013-01-28 18:05:33 +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
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
66d181a3dc remove tmp in round-robin 2013-01-22 19:29:54 +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
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
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
017039c3b5 addapt examples to new version 2013-01-12 21:16:46 +01:00
Oliver Kowalke
e942cab6f4 release all fibers in round_robin dtor 2013-01-12 20:54:58 +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
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