Oliver Kowalke
|
f456902492
|
add test for bounded_channel (basics)
|
2015-08-02 21:17:04 +02:00 |
|
Oliver Kowalke
|
3538208387
|
test_unbounded_channel: add test for moveable type
|
2015-08-02 21:16:40 +02:00 |
|
Oliver Kowalke
|
f275125b93
|
fixes for unbounded_channel
|
2015-08-02 20:48:52 +02:00 |
|
Oliver Kowalke
|
6a0b14e3e8
|
some mods for asnyc(some mods for asnyc())
|
2015-07-31 14:49:48 +02:00 |
|
Oliver Kowalke
|
81babd03be
|
tests: enable tests for shared_future<>
|
2015-07-31 12:12:36 +02:00 |
|
Oliver Kowalke
|
a9eb294f9d
|
mt mutext test: replace rref by generic lambda
|
2015-07-31 08:59:40 +02:00 |
|
Oliver Kowalke
|
cdcbbf09a7
|
unit-test with member-fn
|
2015-06-24 18:23:11 +02:00 |
|
Oliver Kowalke
|
9a27f6f363
|
fix unit-tests, check for C+11/14 features
|
2015-06-21 19:01:14 +02:00 |
|
Oliver Kowalke
|
6c35324727
|
use atomics per default
- atomics can be disable using BOOST_FIBERS_NO_ATOMICS compiler flag
|
2015-06-20 21:31:34 +02:00 |
|
Oliver Kowalke
|
20d08d98cd
|
enable atomics with BOOST_FIBERS_USE_ATOMCIS
|
2015-06-19 21:39:34 +02:00 |
|
Oliver Kowalke
|
2002dba9d3
|
enable/disable atomic<> with BOOST_FIBERS_THREADSAFE
|
2015-06-19 18:57:23 +02:00 |
|
Oliver Kowalke
|
f373348335
|
update Jamfiles.v2
|
2015-02-12 16:30:10 +01:00 |
|
Oliver Kowalke
|
fbe98be71e
|
std::copy_exception is deprecated (use std::make_exception_ptr)
|
2015-01-05 19:57:51 +01:00 |
|
Oliver Kowalke
|
3b332c17ee
|
variadric arguments
|
2015-01-01 14:40:39 +01:00 |
|
Oliver Kowalke
|
44326ebdd3
|
remove priority
|
2014-12-28 08:35:44 +01:00 |
|
Oliver Kowalke
|
7b3f18becd
|
improve test related to futures
|
2014-12-28 08:06:43 +01:00 |
|
Oliver Kowalke
|
2f19be6d67
|
use C++11
|
2014-12-27 19:07:42 +01:00 |
|
Oliver Kowalke
|
2d4a919faa
|
fix errors because of -pedantic
|
2014-08-23 14:20:01 +02:00 |
|
Oliver Kowalke
|
7ef6302f86
|
arbitrary clock::time_point conforming to chrono clock concept allowed
|
2014-07-08 17:41:59 +02:00 |
|
Oliver Kowalke
|
8df4a56564
|
use high_resolution_clock
|
2014-07-07 20:32:56 +02:00 |
|
Oliver Kowalke
|
a9f52d3007
|
add future<>::get_exception_ptr()
|
2014-06-29 14:13:33 +02:00 |
|
Oliver Kowalke
|
b936512136
|
remove mutex::scoped_lock by unique_lock< mutex >
|
2014-06-29 13:31:01 +02:00 |
|
Oliver Kowalke
|
cf90b40978
|
class fiber_group removed
|
2014-03-19 21:29:05 +01:00 |
|
Oliver Kowalke
|
9f7f74f662
|
use symmetric_coroutine<>::yield_type::operator()()
|
2014-03-15 19:16:13 +01:00 |
|
Oliver Kowalke
|
c197068680
|
reduce loop-count for multithreaded mutext-tests
|
2014-03-04 18:06:14 +01:00 |
|
Oliver Kowalke
|
67111d3e58
|
workstealing round-robin scheduler moved to examples
|
2014-03-04 18:01:42 +01:00 |
|
Oliver Kowalke
|
353cb27614
|
fix returning reference from temporary in sharred_state
|
2014-02-27 17:12:03 +01:00 |
|
Oliver Kowalke
|
a29d0be4d4
|
remove tests for unsupported features
|
2014-01-13 20:52:55 +01:00 |
|
Oliver Kowalke
|
2d082fb420
|
fix signature and behaviour of shared_future< R >::get()
|
2014-01-13 20:52:55 +01:00 |
|
Oliver Kowalke
|
bf08c5583d
|
change repate-count for futures-mt test
|
2013-12-29 22:16:48 +01:00 |
|
Oliver Kowalke
|
472992f61c
|
modified test_futures_mt
|
2013-12-29 21:36:05 +01:00 |
|
Oliver Kowalke
|
cda3b09042
|
add test for futures in mt-env
|
2013-12-29 11:33:31 +01:00 |
|
Oliver Kowalke
|
67ca128a8f
|
rename future_base to shared_state
|
2013-12-29 08:06:21 +01:00 |
|
Oliver Kowalke
|
5d27bb6454
|
add test waiting for future in other thread
|
2013-12-28 10:11:48 +01:00 |
|
Oliver Kowalke
|
dee8c72d2a
|
rename boost.strand to boost.fiber
|
2013-12-16 17:58:20 +01:00 |
|
Oliver Kowalke
|
511b740ec2
|
default-scheduler allocated
|
2013-12-02 19:45:48 +01:00 |
|
Oliver Kowalke
|
2e1fd67707
|
yield thief thread before work-stealing
|
2013-11-03 14:03:44 +01:00 |
|
Oliver Kowalke
|
436883ca33
|
add workstealing round_robin
|
2013-10-25 18:01:56 +02:00 |
|
Oliver Kowalke
|
5b6dc61b2f
|
update test_migration
|
2013-10-23 23:19:18 +02:00 |
|
Oliver Kowalke
|
c6718b1ee8
|
add fiber-migration between threads
|
2013-10-23 18:21:58 +02:00 |
|
Oliver Kowalke
|
8e04df986c
|
multithreaded condition_variable
|
2013-10-22 19:32:10 +02:00 |
|
Oliver Kowalke
|
3eafc0725f
|
thread-safe mutex'
|
2013-10-22 14:42:01 +02:00 |
|
Oliver Kowalke
|
ec8a11e60c
|
atomic fiber::state_
|
2013-10-17 19:21:26 +02:00 |
|
Oliver Kowalke
|
8d4987bf5c
|
reset() + future
|
2013-10-14 17:43:18 +02:00 |
|
Oliver Kowalke
|
decba3f33f
|
std::terminate() called if exception not catched
|
2013-10-01 19:44:06 +02:00 |
|
Oliver Kowalke
|
2a6ea310a1
|
fix linkingissue
|
2013-09-28 16:53:04 +02:00 |
|
Oliver Kowalke
|
84d2a50491
|
fix Jamfiles and multithreading
|
2013-09-28 10:24:47 +02:00 |
|
Oliver Kowalke
|
00ec9d32a3
|
update
|
2013-08-28 21:57:14 +02:00 |
|
Oliver Kowalke
|
d91578120f
|
fix libname
|
2013-08-18 22:14:10 +02:00 |
|
Oliver Kowalke
|
3485f551aa
|
add async()
|
2013-08-18 10:30:15 +02:00 |
|
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 |
|