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

49 Commits

Author SHA1 Message Date
Oliver Kowalke
61dc492f31 some stuff/corrections 2015-06-19 18:55:02 +02:00
Oliver Kowalke
52a9da9180 remove invalid noexcept specifier from fiber::detach() 2015-06-13 08:40:13 +02:00
Nat Goodspeed
9c4cdf3438 Desk-checking pass through fiber_properties source code. 2015-05-10 23:35:15 -04:00
Nat Goodspeed
2687814477 Merge branch 'develop' of github.com:olk/boost-fiber into sched-props-dev
Resolved conflicts:
	doc/condition_variables.qbk
	examples/cpp03/migration/workstealing_round_robin.cpp
	examples/cpp03/migration/workstealing_round_robin.hpp
	include/boost/fiber/algorithm.hpp
	include/boost/fiber/bounded_queue.hpp
	include/boost/fiber/detail/fiber_base.hpp
	include/boost/fiber/detail/fifo.hpp
	include/boost/fiber/detail/waiting_queue.hpp
	include/boost/fiber/detail/worker_fiber.hpp
	include/boost/fiber/fiber.hpp
	include/boost/fiber/fiber_manager.hpp
	include/boost/fiber/fixedsize_stack.hpp
	include/boost/fiber/operations.hpp
	include/boost/fiber/round_robin.hpp
	include/boost/fiber/unbounded_queue.hpp
	src/detail/worker_fiber.cpp
	src/fiber.cpp
	src/fiber_manager.cpp
	src/round_robin.cpp
2015-05-10 22:03:35 -04:00
Oliver Kowalke
aa337b07f7 move 'fm_' - free functions into fiber_manager 2015-02-08 16:02:22 +01:00
Oliver Kowalke
27c0a78d36 allocate fiber_context on stack 2015-01-13 14:57:32 +01:00
Oliver Kowalke
654127af00 rename fiber_base -> fiber_context and move to public namespace 2015-01-04 16:05:08 +01:00
Oliver Kowalke
44326ebdd3 remove priority 2014-12-28 08:35:44 +01:00
Oliver Kowalke
2f19be6d67 use C++11 2014-12-27 19:07:42 +01:00
Nat Goodspeed
f1a34d297f Remove 'priority' for every fiber, and its support methods.
Priority is another property that's only relevant for future sched_algorithm
implementations. We don't even have an example yet. It's a good candidate for
moving to a specific fiber_properties subclass for that specific
sched_algorithm implementation.
2014-11-11 18:00:18 -05:00
Nat Goodspeed
3cb5b2a341 Remove thread_affinity flag and access methods.
Specificaly, remove access methods in worker_fiber, fiber and this_fiber.

thread_affinity is not used by any present library code. It was intended for
use by workstealing user sched_algorithm implementations. The properties
mechanism is a better way to address scheduler-specific properties.
2014-11-11 09:53:25 -05:00
Oliver Kowalke
22850775ca variadric tempalte args 2014-07-15 20:33:14 +02:00
Oliver Kowalke
a2d3eba716 fix migrating a fiber between threads 2014-06-26 19:01:49 +02:00
Oliver Kowalke
91ccc91ee7 some fixes 2014-06-22 19:31:58 +02:00
Oliver Kowalke
026003bb65 use the free fm_<xyz> - functions 2014-06-17 11:51:14 +02:00
Oliver Kowalke
ba010422f1 allocate worker_fiber on fiber's stack 2014-03-20 18:14:46 +01:00
Oliver Kowalke
228aae6833 do not use reference-counting 2014-03-19 19:55:56 +01:00
Oliver Kowalke
431d829776 no intrusive-ptr 2014-03-18 22:01:14 +01:00
Oliver Kowalke
64c372d059 add thread_affinity() to fiber's public interface 2013-11-02 16:56:24 +01:00
Oliver Kowalke
4a483d3215 do not throw in start_fiber_() 2013-10-02 17:13:00 +02:00
Oliver Kowalke
decba3f33f std::terminate() called if exception not catched 2013-10-01 19:44:06 +02:00
Oliver Kowalke
73e87bc599 fix bug related to fiber::join() 2013-09-28 08:20:59 +02:00
Oliver Kowalke
60031f8ec1 Nat's patch applied (Mac OS X related stuff) 2013-09-26 19:25:24 +02:00
Oliver Kowalke
a71c8478fe make fiber::detach() not inlined 2013-09-13 17:38:09 +02:00
Oliver Kowalke
f06b6cf0d4 fix auto-link in config.hpp 2013-08-13 10:27:02 +02:00
Oliver Kowalke
3ba86d0e27 let scheduler::instance() return a pointer 2013-06-23 12:24:42 +02:00
Oliver Kowalke
31c764b7bc some code clean-up 2013-06-14 16:53:46 +02:00
Oliver Kowalke
61c3fd4589 some fixes 2013-06-10 20:11:52 +02:00
Oliver Kowalke
92a43d3391 rename fiber::spawn_() to fiber::start_fiber_()nd impl_ to fiber_data_ 2013-02-24 07:26:49 +01:00
Oliver Kowalke
c72d952e2a remove is_fiberized() 2013-02-23 10:52:09 +01:00
Oliver Kowalke
c781386ed7 replace add() by spwan() in algorithm 2013-01-31 18:06:40 +01:00
Oliver Kowalke
58c09646e7 check for self-joining 2013-01-30 17:39:23 +01:00
Oliver Kowalke
41eda947d2 move fiber in migrate_to 2013-01-27 12:44:48 +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
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
a8b32fda25 some fixes related to round_robin and multithreading 2013-01-14 19:53:59 +01:00
Oliver Kowalke
df40f8c9f4 add interuption_points() in waiting functions 2013-01-11 18:59:21 +01:00
Oliver Kowalke
cff07a3645 interruption 2013-01-10 19:51:34 +01:00
Oliver Kowalke
e04637edaf some mods 2013-01-07 17:25:03 +01:00
Oliver Kowalke
40dcccfef1 remove assertions, adapt tests 2013-01-03 06:35:50 +01:00
Oliver Kowalke
77e1b216e0 use atomic operations 2012-12-31 11:34:02 +01:00
Oliver Kowalke
f8e68e0987 let fiber::join() throw exceptions 2012-12-29 10:53:11 +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
fb79b6eccb move scheduler in public namespace 2012-12-14 12:33:37 +01:00
Oliver Kowalke
81e62e8962 changed directory structure as required by modularized-boost 2012-12-09 15:22:59 +01:00