Commit Graph

1840 Commits

Author SHA1 Message Date
Oliver Kowalke
cad022e0fe refactor auto_reset event 2013-01-07 17:52:39 +01:00
Oliver Kowalke
e04637edaf some mods 2013-01-07 17:25:03 +01:00
Oliver Kowalke
55e03df93b remove this_fiber::run() from tests 2013-01-06 15:08:26 +01:00
Oliver Kowalke
3353829c0f remover sleep() 2013-01-06 14:19:11 +01:00
Oliver Kowalke
2903581791 fix condition/round_robin 2013-01-06 14:10:50 +01:00
Oliver Kowalke
20803f4c1d release fibers in dtor of round_robin; add asserts in jump-fn 2013-01-05 12:45:42 +01:00
Oliver Kowalke
d37c44807e fix atomic<> related stuff 2013-01-04 20:56:25 +01:00
Oliver Kowalke
4a5e0ee363 erase terminated fibers from round_robin 2013-01-03 21:20:48 +01:00
Oliver Kowalke
74b0d65b56 use sorted vector in round_robin 2013-01-03 20:05:15 +01:00
Oliver Kowalke
40dcccfef1 remove assertions, adapt tests 2013-01-03 06:35:50 +01:00
Oliver Kowalke
57a33062d8 spin_mutex used 2013-01-01 15:29:39 +01:00
Oliver Kowalke
15af799c23 ignore cscope files 2013-01-01 15:29:11 +01:00
Oliver Kowalke
77e1b216e0 use atomic operations 2012-12-31 11:34:02 +01:00
Oliver Kowalke
df45e885d2 set fiber::priority via scheduler 2012-12-29 11:09:14 +01:00
Oliver Kowalke
f8e68e0987 let fiber::join() throw exceptions 2012-12-29 10:53:11 +01:00
Oliver Kowalke
82f0fdbed9 exceptions adapted to system_error 2012-12-29 10:31:52 +01:00
Oliver Kowalke
e9c107cf04 add fiber::joinable(), use joinable() in destructor 2012-12-28 17:11:44 +01:00
Oliver Kowalke
dfa541c882 call std::terminate() by destruction if fiber active 2012-12-28 17:00:38 +01:00
Oliver Kowalke
8594910926 fix namespace alias' in tests 2012-12-26 21:03:12 +01:00
Oliver Kowalke
57991f5b14 add future< T >::then() 2012-12-26 20:57:10 +01:00
Oliver Kowalke
14d40f2d86 priority() functons added to fiber 2012-12-24 07:46:34 +01:00
Oliver Kowalke
670b36f4cb round_robin::migrate_from/to added 2012-12-24 07:33:44 +01:00
Oliver Kowalke
cfdcf1d16a interface algorithm, round_robin 2012-12-19 19:37:05 +01:00
Oliver Kowalke
1e248b0216 require to set scheduler for each os-thread 2012-12-17 19:54:34 +01:00
Oliver Kowalke
b0a59e4fb8 default_scheduler moved to public namespace 2012-12-16 20:27:53 +01:00
Oliver Kowalke
86f4df89f3 rename scheduler::swap() to scheduler::replace() 2012-12-16 16:38:49 +01:00
Oliver Kowalke
f306dcc391 scheduler::swap() 2012-12-15 14:36:39 +01:00
Oliver Kowalke
fb79b6eccb move scheduler in public namespace 2012-12-14 12:33:37 +01:00
Oliver Kowalke
35ac18fa73 scheduler is interface; default_scheduler added 2012-12-14 10:40:35 +01:00
Oliver Kowalke
4c13f609ee remove waitfor-functions for fiber 2012-12-14 10:39:55 +01:00
Oliver Kowalke
501840f077 instance pointer not function-local 2012-12-13 19:19:05 +01:00
Oliver Kowalke
645281a2ba add fiber::detach() 2012-12-13 17:59:13 +01:00
Oliver Kowalke
81e62e8962 changed directory structure as required by modularized-boost 2012-12-09 15:22:59 +01:00
olk
de1188faa2 Create README.md 2012-12-05 13:44:43 -08:00
Oliver Kowalke
328ca38e90 join fiber in its destructor 2012-12-01 18:10:26 +01:00
Oliver Kowalke
8c0861d2ed let wait_for() and wait_for_and_cancel() return number 2012-12-01 17:43:46 +01:00
Oliver Kowalke
7ce1e8ac72 Mac OS X does not support __thread keyword 2012-12-01 14:51:05 +01:00
Oliver Kowalke
ebf7de2364 clean-up of fiber_base interface 2012-11-25 11:20:30 +01:00
Oliver Kowalke
95a6f0e91a use scope-guard for changing active-fiber 2012-11-24 13:19:59 +01:00
Oliver Kowalke
ddc06fb74c define NOMINMAX because of min/max MACRO issue on Windows 2012-11-24 12:46:28 +01:00
Oliver Kowalke
88dbca3a8f fix typos on MSVC branch 2012-11-24 11:41:04 +01:00
Oliver Kowalke
3fe885d035 remove dependency to boost.thread
- use __thread/__declspec(thread) for static thread-local
  pointer to scheduler
2012-11-24 10:56:05 +01:00
Oliver Kowalke
799fe9b889 fix types in fiber.hpp 2012-11-24 10:42:19 +01:00
Oliver Kowalke
3cc5d7d38c remove ambig. move-assing-op for unique_future<> 2012-11-24 10:40:48 +01:00
Oliver Kowalke
3dd674eced adapt boost.fiber to boost.context 2012-11-23 17:26:35 +01:00
Oliver Kowalke
c9969ebdaf modification for fiberswq 2012-11-22 18:57:59 +01:00
Oliver Kowalke
5f256a5d17 stack_allocator and attributes added 2012-11-21 19:02:12 +01:00
Oliver Kowalke
df08d8b6ae remove manifest 2012-08-16 17:24:32 +02:00
Oliver Kowalke
8369410285 initial import 2012-08-12 08:57:59 +02:00
Oliver Kowalke
76572ab3cc ignore file 2012-08-12 08:55:57 +02:00