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
61dc492f31
some stuff/corrections
2015-06-19 18:55:02 +02:00
Oliver Kowalke
9778fc8594
Merge pull request #34 from nat-goodspeed/develop
...
Fix minor Quickbook syntax error
2015-06-15 07:54:18 +02:00
Nat Goodspeed
050d974e5e
Merge branch 'develop' of github.com:olk/boost-fiber into develop
2015-06-14 21:14:42 -04:00
Nat Goodspeed
2946b35b0d
Fix minor Quickbook syntax error.
2015-06-14 21:14:02 -04:00
Oliver Kowalke
52a9da9180
remove invalid noexcept specifier from fiber::detach()
2015-06-13 08:40:13 +02:00
Oliver Kowalke
e2404eefd7
introduce new queue for terminated fibers
2015-06-13 08:14:14 +02:00
Oliver Kowalke
19b3076467
remove performance test scale_join
2015-06-13 08:07:31 +02:00
Oliver Kowalke
9b8c772388
define BOOST_DISABLE_ASSERTS in Jamfile
...
- for variant=release or optimization=speed define BOOST_DISABLE_ASSERTS
2015-06-13 08:06:18 +02:00
Oliver Kowalke
baf9a55868
enable algiment of control structures on stack
2015-06-10 20:52:14 +02:00
Oliver Kowalke
5f2c8e47d4
update documentation: using Windows Fiber API
2015-06-06 09:02:01 +02:00
Oliver Kowalke
ca7e8be37c
update docu
2015-05-23 18:27:08 +02:00
Oliver Kowalke
e22c7fb1cb
some formating
2015-05-22 09:50:39 +02:00
Oliver Kowalke
2b7d48da12
rename queue_op_status -> channel_op_status
2015-05-22 09:32:36 +02:00
Oliver Kowalke
3c7084e359
fix call of execution_context::operator() * exampe priority
2015-05-14 12:11:37 +02:00
Oliver Kowalke
b467273abb
Merge pull request #26 from nat-goodspeed/sched-props-dev
...
Support arbitrary properties for a user-supplied sched_algorithm implementation.
2015-05-14 11:56:04 +02:00
Nat Goodspeed
dadc42a028
Add missing #include fiber_context.hpp.
2015-05-13 08:45:01 -04:00
Nat Goodspeed
f66cc3389d
Remove static fm_mumble() functions brought over during merge.
...
Specifically, remove fm_get_sched_algo_() and two fm_wait_interval()
overloads.
2015-05-13 08:44:14 -04:00
Nat Goodspeed
04be1f0f84
algorithm.hpp no longer lives in detail subdirectory.
2015-05-13 08:41:38 -04:00
Nat Goodspeed
068aa87e8e
fiber_properties must be polymorphic. Add virtual destructor.
...
This was an inadvertent oversight. The existing destructor even had a comment
explaining why it must be virtual!
2015-05-13 08:40:45 -04:00
Nat Goodspeed
00098f171a
For compatibility with Boost 1.58, call execution_context::resume().
2015-05-13 08:39:25 -04:00
Nat Goodspeed
f5d136d974
Restore (merge-clobbered?) detach, join, interrupt method decls.
2015-05-13 08:38:28 -04:00
Nat Goodspeed
25ccb85d19
Initialize int priority_ properly to 0, not nullptr.
2015-05-13 08:37:32 -04:00
Nat Goodspeed
89b3dafd5c
Eliminate spurious whitespace differences from upstream develop.
2015-05-11 09:48:23 -04:00
Nat Goodspeed
77a443b03b
Merge branch 'develop' of github.com:olk/boost-fiber into sched-props-dev
2015-05-11 05:51:14 -04:00
Nat Goodspeed
a4e77e502f
Re-add bool fiber_manager::preserve_fpu() to header file.
2015-05-11 05:46:26 -04:00
Nat Goodspeed
765014daee
working our way through build errors
2015-05-11 05:38:45 -04:00
Nat Goodspeed
4eaed2a943
Start resolving build errors with newly-merged sched-props-dev branch.
...
Get fiber_manager out of the business of casting returned properties: that
introduces a circular dependency. Defer casting to fiber_properties subclass
to consumers in fiber.hpp and operations.hpp.
2015-05-11 04:25:05 -04:00
Nat Goodspeed
9c4cdf3438
Desk-checking pass through fiber_properties source code.
2015-05-10 23:35:15 -04:00
Nat Goodspeed
1bec058e77
Move priority.cpp example program to main examples directory.
...
Since the library no longer supports C++03, the examples/cpp03 subdirectory
has gone away, along with the cpp11 subdirectory.
2015-05-10 22:59:38 -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
5de7649571
Merge pull request #32 from BenjaminW3/patch-1
...
Remove definition of BOOST_FIBERS_USE_VARIADIC_FIBER
2015-04-30 09:55:54 +02:00
Benjamin Worpitz
70c16383b7
Remove definition of BOOST_FIBERS_USE_VARIADIC_FIBER
...
Since the usage of variadic templates is now enabled by default and not emulated, the definition of the `BOOST_FIBERS_USE_VARIADIC_FIBER` macro can be removed.
2015-04-30 09:02:30 +02:00
Oliver Kowalke
e1bd9b8151
docu
2015-04-18 13:23:08 +02:00
Oliver Kowalke
6f5757ff8a
adapt new API of execution_context
2015-03-26 10:04:06 +01:00
Oliver Kowalke
266ae8dc4b
update docu
2015-02-19 19:07:46 +01:00
Oliver Kowalke
f7f0dacc03
Update segmented_stack.cpp
2015-02-19 13:31:56 +01:00
Oliver Kowalke
e91e016fe8
Update segmented_stack.cpp
2015-02-19 08:37:12 +01:00
Oliver Kowalke
4d6403102b
Update segmented_stack.cpp
2015-02-19 08:23:41 +01:00
Oliver Kowalke
eeaf6d3136
Update segmented_stack.hpp
2015-02-19 08:20:43 +01:00
Oliver Kowalke
1bd3e29ff8
rename execution_context::jump_to() -> execution_context::resume()
2015-02-18 18:53:51 +01:00
Oliver Kowalke
5756de290c
docu
2015-02-15 19:54:43 +01:00
Oliver Kowalke
3b9382f8df
update docu
2015-02-14 11:11:11 +01:00
Oliver Kowalke
09123e20ad
remove unecessary fiber ctor
2015-02-14 11:10:46 +01:00
Oliver Kowalke
f3fb26c904
add C++14 statement in README.md
2015-02-12 16:30:55 +01:00
Oliver Kowalke
f373348335
update Jamfiles.v2
2015-02-12 16:30:10 +01:00
Oliver Kowalke
ec2d9c6021
add asio examples
2015-02-12 16:29:01 +01:00
Oliver Kowalke
91c237666e
use C++14 features
...
- lambda capture expressions supports move-only types
- parameters are packed into std::tuple<> and with context-function
moved to the context-lambda (->lambda capture expression)
- in context-lambda context-function with packed parameters called
(-> deferred call)
2015-02-11 20:13:00 +01:00
Oliver Kowalke
ee0b84240d
remove asio examples
2015-02-10 18:45:26 +01:00