oliver Kowalke
20ca3705e7
pass stack-allocator to fiber in async()
...
- stack-allocator was mistakenly passed as argument to packaged_task<>
- additional overload for async() taking stack-allocator for fiber and
allocator for packaged_task<>
2017-01-12 09:11:25 +01:00
oliver Kowalke
fffb7e7f32
check support for std::mutex and std::thread
2016-12-13 08:19:15 +01:00
Oliver Kowalke
b53e167a68
support for channels refactored
...
- buffered_channel: MPMC with lock-free guarantees
- unbuffered_channel: rendezvous point
2016-10-30 19:33:49 +01:00
Oliver Kowalke
ce962f9688
(un)bounded_channel renamed to (un)bounded_queue
2016-10-13 20:17:01 +02:00
oliver Kowalke
8497508c36
unite-tests: apply defect macro for thread_local
2016-09-15 08:59:22 +02:00
oliver Kowalke
6a13a1e772
fix unit-tests regarding to returning moveable-only type
2016-06-27 11:15:05 +02:00
oliver Kowalke
f5dda504ae
fix test/Jamfile.v2 requirements
2016-06-17 08:26:08 +02:00
Oliver Kowalke
e3ebf6f6ef
rename "launch_policy" to "launch"
2016-05-08 10:01:52 +02:00
Oliver Kowalke
2dbea898d4
introduction of launch_policies dispatch and post
...
- dispatch: execute new fiber immediately, suspend current fiber
- post: enqueue new fiber in ready-queue, continue executing current
fiber
2016-04-28 20:35:26 +02:00
Oliver Kowalke
57267ec957
remove support for fiber interruption
2016-04-19 18:16:31 +02:00
Oliver Kowalke
a48c0eb491
fix include of headers
2016-02-27 20:07:06 +01:00
Oliver Kowalke
3522245899
link unit-tests against boost.thread
2016-02-13 11:25:02 +01:00
Oliver Kowalke
91ece536bd
provide impl for move-ops in test_async
2016-02-07 12:01:47 +01:00
Oliver Kowalke
aa0bdfffa6
fix unit-tests
2016-02-03 17:08:19 +01:00
Oliver Kowalke
da14401975
enhance tests
2016-02-03 16:56:28 +01:00
Oliver Kowalke
056a681459
fix fiber-exceptions
2015-12-26 19:52:21 +01:00
Oliver Kowalke
80b281ea34
remove fiber::operator bool()
2015-12-25 20:30:03 +01:00
Oliver Kowalke
d09ab56a05
RVO instead rvalue test_future
2015-12-21 14:51:31 +01:00
Oliver Kowalke
8c80a4510c
re-factor unit-tests for condition_variable(_any)
2015-12-18 18:26:17 +01:00
Oliver Kowalke
5392f9a4da
add unit-tests regarding to using std::bind()
2015-12-17 20:00:32 +01:00
Oliver Kowalke
742467f938
make test_future_mt C++1 conform
2015-12-13 14:20:06 +01:00
Oliver Kowalke
570b0a9ea9
rename condition -> condition_variable
2015-12-13 13:46:26 +01:00
Oliver Kowalke
db180f08da
relax to C++11
2015-12-12 23:19:33 +01:00
Oliver Kowalke
2d0dbb4fa1
use allocator_traits
2015-12-06 21:52:43 +01:00
Oliver Kowalke
6fe869b5eb
re-enable test for conditions in mt-env
2015-10-21 20:57:41 +02:00
Oliver Kowalke
bc9c20b7f0
fix test of conditions shared by threads
2015-10-18 20:06:20 +02:00
Oliver Kowalke
b102d8a89d
fix test (multithreading)
2015-10-16 22:16:24 +02:00
Oliver Kowalke
bafd65bcf3
remove yield-queue + pass functor to resume-op
2015-10-16 21:48:57 +02:00
Oliver Kowalke
6dfd42c343
reduce loop count for testing conditions mt
2015-10-16 21:47:39 +02:00
Oliver Kowalke
de076200a6
future: support moveable-only types
2015-10-14 21:03:33 +02:00
Oliver Kowalke
0deb75a699
modify work-sharign example
2015-10-12 18:44:21 +02:00
Oliver Kowalke
1eafd3e281
support movable types
2015-10-12 10:29:14 +02:00
Oliver Kowalke
ac167e4d36
newline in test/Jamfile added
2015-10-11 12:01:03 +02:00
Oliver Kowalke
b03ab3b3ba
disable mt-tests
2015-09-29 17:48:34 +02:00
Oliver Kowalke
a48d3a44fa
fix test
2015-09-28 18:47:51 +02:00
Oliver Kowalke
43da6f5c1c
modify test for multithreaded access to future
2015-09-27 16:16:09 +02:00
Oliver Kowalke
6e479279dd
use flag for multihtreded use of condition test
2015-09-24 17:36:41 +02:00
Oliver Kowalke
1f88055f42
enhance test
2015-09-23 17:45:13 +02:00
Oliver Kowalke
b43f288469
support for futures added
2015-09-22 19:17:08 +02:00
Oliver Kowalke
1b274d9b73
support for fiber-specific storage
2015-09-22 19:10:09 +02:00
Oliver Kowalke
b4f47821d9
add notice of derived work to tests
2015-09-22 19:06:37 +02:00
Oliver Kowalke
38aa1f4366
support of detaching fibers added
2015-09-22 19:05:57 +02:00
Oliver Kowalke
6ad6579666
fix interruption + condition:wait()
2015-09-21 20:47:53 +02:00
Oliver Kowalke
c0f3fe393c
enhance test_fiber
2015-09-21 20:37:55 +02:00
Oliver Kowalke
128b534058
fix context
2015-09-21 20:34:41 +02:00
Oliver Kowalke
1ad58fbba1
add interruption
2015-09-21 20:18:53 +02:00
Oliver Kowalke
7b1e7839b4
class bounded_channel added
2015-09-20 18:10:55 +02:00
Oliver Kowalke
b8de63af06
class unbounded_channel added
2015-09-20 18:05:05 +02:00
Oliver Kowalke
bba963c64c
class barrier added
2015-09-20 15:38:32 +02:00
Oliver Kowalke
a856a96369
class condtion added
2015-09-20 11:33:59 +02:00