2
0
mirror of https://github.com/boostorg/fiber.git synced 2026-02-18 14:02:18 +00:00
Commit Graph

416 Commits

Author SHA1 Message Date
Oliver Kowalke
7be95bfd80 include header fiber_base.hpp instead of notify.hpp 2014-03-18 18:59:15 +01:00
Oliver Kowalke
6526dc5835 Merge branch 'feature/yield' into develop
Conflicts:
	include/boost/fiber/detail/fifo.hpp
	include/boost/fiber/detail/worker_fiber.hpp
	include/boost/fiber/round_robin.hpp
	performance/preallocated_stack_allocator.hpp
	src/detail/worker_fiber.cpp
	src/round_robin.cpp
2014-03-17 19:12:13 +01:00
Oliver Kowalke
3b882ade23 use fifo in round_robin 2014-03-16 22:07:01 +01:00
Oliver Kowalke
8cbca1363e use fifo as waiting-queue 2014-03-16 16:54:18 +01:00
Oliver Kowalke
a3e8944fd0 equeue fiber first 2014-03-16 13:44:36 +01:00
Oliver Kowalke
6edddcbabc use fifo as waiting-queue 2014-03-16 13:33:07 +01:00
Oliver Kowalke
12505646ae formating round_robin.hpp 2014-03-16 11:11:31 +01:00
Oliver Kowalke
9f7f74f662 use symmetric_coroutine<>::yield_type::operator()() 2014-03-15 19:16:13 +01:00
Oliver Kowalke
8884e791b1 remove algorithm::get_main_id() 2014-03-08 22:24:18 +01:00
Oliver Kowalke
1a4703c4cb Revert " hold main_fiber::ptr_t in round_robin"
This reverts commit dc0216504e.
2014-03-08 20:29:32 +01:00
Oliver Kowalke
49d223fe1a resume fiber on creation 2014-03-08 19:38:12 +01:00
Oliver Kowalke
5d6c392463 use priority_queue 2014-03-08 18:55:37 +01:00
Oliver Kowalke
01a59c93de remove unecessary local data 2014-03-08 18:55:17 +01:00
Oliver Kowalke
dc0216504e hold main_fiber::ptr_t in round_robin 2014-03-08 18:54:27 +01:00
Oliver Kowalke
a1e3c1d081 merge from branch feature/tls 2014-03-08 10:16:22 +01:00
Oliver Kowalke
e2f66481ab add b2 cmd-options to Jamfile 2014-03-08 10:10:23 +01:00
Oliver Kowalke
5b6d77b6b5 renaming of fiber classes 2014-03-05 17:30:11 +01:00
Oliver Kowalke
c197068680 reduce loop-count for multithreaded mutext-tests 2014-03-04 18:06:14 +01:00
Oliver Kowalke
bafa33f287 wait in round-robin destructor until all fibers are finished 2014-03-04 18:04:11 +01:00
Oliver Kowalke
67111d3e58 workstealing round-robin scheduler moved to examples 2014-03-04 18:01:42 +01:00
Oliver Kowalke
7a626563f7 add missing std::allocator<> to fiber ctor 2014-02-28 20:45:03 +01:00
Oliver Kowalke
486879ace9 fix invalid return type in bounded_queue<> 2014-02-28 20:24:38 +01:00
Oliver Kowalke
353cb27614 fix returning reference from temporary in sharred_state 2014-02-27 17:12:03 +01:00
Oliver Kowalke
7cf2cabc99 allow different stack-allocators 2014-02-26 19:40:28 +01:00
Oliver Kowalke
12d97c57cd use ecplicit-operator-bool from boost 2014-02-24 10:42:20 +01:00
Oliver Kowalke
38ac7f4d55 reduce inecessary code 2014-02-23 19:20:45 +01:00
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