Commit Graph

1840 Commits

Author SHA1 Message Date
Oliver Kowalke
fc608cdaf7 use symmetric_coroutine<> (from coroutine branch develop) 2014-02-22 21:38:24 +01:00
Oliver Kowalke
2b37b33011 use asymmetric_coroutine<> from (coroutine branch develop) 2014-02-22 21:26:28 +01:00
Oliver Kowalke
f20cb844e5 documentation of performance 2014-02-22 20:02:38 +01:00
Oliver Kowalke
037acd7831 add performance tests 2014-02-22 19:43:09 +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
7d4c582b33 fix formating 2014-01-13 20:52:55 +01:00
olk
552c175be1 add some comments to publish-subscibe example 2014-01-07 08:46:26 +01:00
olk
a2611f032a change copy right in example/future_mt.cpp 2014-01-07 07:48:53 +01:00
olk
b3f5c61fa2 replace comment to include guard in task_base.hpp 2014-01-07 07:46:46 +01:00
Oliver Kowalke
8de7066392 fix library name in Jamfile 2013-12-30 15:33:13 +01:00
Oliver Kowalke
3cc7d06482 additional example for transfering future between threads 2013-12-29 22:21:44 +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
1a6b245709 commented some alternative (inperformant) 2013-12-29 21:35:28 +01:00
Oliver Kowalke
baa2828df6 move re-locking of external lock in branch 2013-12-29 21:03:26 +01:00
olk
bcffcfcc00 Merge pull request #12 from mlang/master
Fixes some typos found during review.
2013-12-29 05:24:29 -08:00
Mario Lang
4ba6fbc650 Merge branch 'master' of https://github.com/olk/boost-fiber 2013-12-29 14:02:47 +01:00
Mario Lang
d471d7133d Fix some typos. 2013-12-29 14:00:36 +01:00
Oliver Kowalke
1926a21838 some assertions added 2013-12-29 13:24:30 +01:00
Oliver Kowalke
2c5fd56a6c use atomics for intrusive_ptr of shared_state 2013-12-29 11:52:54 +01:00
Oliver Kowalke
19059fb1cd ioptimize test for fiber in spinlock 2013-12-29 11:34:24 +01:00
Oliver Kowalke
cda3b09042 add test for futures in mt-env 2013-12-29 11:33:31 +01:00
Oliver Kowalke
bc87dc3415 use atomics for intrusive_ptr of shared_state 2013-12-29 11:32:25 +01:00
Oliver Kowalke
67ca128a8f rename future_base to shared_state 2013-12-29 08:06:21 +01:00
Oliver Kowalke
40d469d346 let notifier for thread's initial context allocate by algoritm 2013-12-28 10:19:06 +01:00
Oliver Kowalke
5d27bb6454 add test waiting for future in other thread 2013-12-28 10:11:48 +01:00
Oliver Kowalke
a24d3d05e8 add missing noexcept specifier for asio::round_robin 2013-12-27 20:32:47 +01:00
olk
d5493caf7e Update README.md 2013-12-18 22:17:57 +01:00
Oliver Kowalke
dee8c72d2a rename boost.strand to boost.fiber 2013-12-16 17:58:20 +01:00
Oliver Kowalke
2c9e034f0b move this_thread::yield() into round_robin schedulers 2013-12-16 17:38:04 +01:00
Oliver Kowalke
aa6f0b1bce add a note to destructor of fiber in documentation 2013-12-16 17:33:17 +01:00
Oliver Kowalke
d7c0d5d046 call this_thread::yield at some points 2013-12-15 20:02:06 +01:00
Oliver Kowalke
4cc7c54535 main context and this_fiber::thread_affinity() 2013-12-15 17:55:19 +01:00
Oliver Kowalke
9a9d0f03a5 man context calls scheduler::instance()->run() in sleep() 2013-12-15 17:50:15 +01:00
Oliver Kowalke
b8548fd147 main context call scheduler::instance()->run() in yield() 2013-12-15 17:44:22 +01:00
Oliver Kowalke
3b7ed1f45a changed template args for packaged_task in documentation 2013-12-15 08:31:58 +01:00
Oliver Kowalke
240a57a8ed fix signature template arg of packaged_task 2013-12-12 20:19:17 +01:00
Oliver Kowalke
7ea3a8968c html updated 2013-12-08 22:09:03 +01:00
Oliver Kowalke
7594f74568 add required compiler flags for segmentad-stacks 2013-12-08 15:02:49 +01:00
Oliver Kowalke
909c8ed3fc some smalle fixes in documentation 2013-12-06 08:52:22 +01:00
olk
72943cb4cb Merge pull request #11 from nat-goodspeed/fiber-mt
Update doc for set_scheduling_algorithm() for void return.
2013-12-04 10:50:42 -08:00
Nat Goodspeed
8432f8b864 Update doc for set_scheduling_algorithm() for void return.
Add note to set_scheduling_algorithm() about caller's responsibility to
eventually destroy the passed scheduler object.
2013-12-04 13:26:30 -05:00
Oliver Kowalke
d03bc6a984 update scheduling algorithm as Nad suggested 2013-12-04 18:58:36 +01:00
olk
d518a2177e Merge pull request #10 from nat-goodspeed/fiber-mt
Add notes for algorithm::active() and get_main_id() methods.
2013-12-04 09:20:03 -08:00
Nat Goodspeed
025a31d9e2 Add notes for algorithm::active() and get_main_id() methods.
This reflects my improved understanding of these methods based on our mail
conversation.
Also state explicitly that you are permitted to supply your own scheduler.
2013-12-04 09:51:27 -05:00
olk
fd86687a9a Merge pull request #9 from nat-goodspeed/fiber-mt
Document set_scheduling_algorithm().
2013-12-03 23:47:31 -08:00
Nat Goodspeed
7eca9fb5fb Document set_scheduling_algorithm().
Add cross-references for that and for algorithm, round_robin and
round_robin_ws.
2013-12-03 22:41:25 -05:00
Oliver Kowalke
511b740ec2 default-scheduler allocated 2013-12-02 19:45:48 +01:00
Oliver Kowalke
b7eb006f0d Merge branch 'fiber-mt' of git://github.com/nat-goodspeed/boost-fiber into nat-goodspeed-fiber-mt
Conflicts:
	doc/scheduling.qbk
2013-11-30 07:21:27 +01:00