Oliver Kowalke
1ad58fbba1
add interruption
2015-09-21 20:18:53 +02:00
Oliver Kowalke
6d43540a29
cleanup
2015-09-15 19:15:00 +02:00
Oliver Kowalke
d66575e2e6
fiber_manager renamed to scheduler
2015-09-07 17:35:37 +02:00
Oliver Kowalke
6499bb07e7
fiber_context renamed to context
2015-09-07 17:23:59 +02:00
Oliver Kowalke
7233f617d7
remove class scheduler - fiber_context has static TLS
...
- detail:.scheduler was removed
- fiber_context has a static thread-local pointer to the active
fiber_context
- fiber_context has member to pointer of fiber_manager
- functions of fiber_manager are accessed only via fiber_context
- if fiber f is resumed, the fiber_manager of the current active fiber
f' is assigned to f
-> that is necessary if f was stolen form another thread
2015-09-07 11:50:01 +02:00
Oliver Kowalke
61dc492f31
some stuff/corrections
2015-06-19 18:55:02 +02:00
Oliver Kowalke
aa337b07f7
move 'fm_' - free functions into fiber_manager
2015-02-08 16:02:22 +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
2f19be6d67
use C++11
2014-12-27 19:07:42 +01:00
Oliver Kowalke
7fb469cd10
some fixes
2014-09-24 19:18:44 +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
228aae6833
do not use reference-counting
2014-03-19 19:55:56 +01:00
Oliver Kowalke
5b6d77b6b5
renaming of fiber classes
2014-03-05 17:30:11 +01:00
Oliver Kowalke
decba3f33f
std::terminate() called if exception not catched
2013-10-01 19:44:06 +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
61c3fd4589
some fixes
2013-06-10 20:11:52 +02:00
Oliver Kowalke
232c9118d5
add comment regarding to derived code
2013-01-31 17:57:01 +01:00
Oliver Kowalke
b97e265a49
rethrow fiber_interrupted + tests fixed
2013-01-13 16:01:47 +01:00
Oliver Kowalke
1382e4eab6
some fixed for concurrent access support
2013-01-12 20:50:33 +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