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
|
5a37963c05
|
spinlock::lock() should do a busy wait
- no yield() or run() should be called if busy waiting
|
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
|
3d28e8ad54
|
update unit-tests
|
2013-01-31 17:35:43 +01:00 |
|
Oliver Kowalke
|
c23397b018
|
remove dependenxcy to bosot.chrono and boost.thread
|
2013-01-31 17:35:02 +01:00 |
|
Oliver Kowalke
|
b4623a7e53
|
fix example join
|
2013-01-30 19:42:55 +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
|
9f8e1b4d06
|
fix fibers not operator
|
2013-01-30 19:26:23 +01:00 |
|
Oliver Kowalke
|
9ad0ec1937
|
adapt examples
|
2013-01-30 19:16:19 +01:00 |
|
Oliver Kowalke
|
d5e85ef828
|
remove debug output
|
2013-01-30 19:16:03 +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
|
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
|
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 |
|