Commit Graph

  • b102d8a89d fix test (multithreading) Oliver Kowalke 2015-10-16 22:16:24 +0200
  • bafd65bcf3 remove yield-queue + pass functor to resume-op Oliver Kowalke 2015-10-16 21:48:57 +0200
  • 6dfd42c343 reduce loop count for testing conditions mt Oliver Kowalke 2015-10-16 21:47:39 +0200
  • 338f9754ee move yielded context' after resume-op Oliver Kowalke 2015-10-15 12:21:54 +0200
  • de076200a6 future: support moveable-only types Oliver Kowalke 2015-10-14 21:03:33 +0200
  • 79e5776805 qualify functions which use intrusive-list with const and noexcept Oliver Kowalke 2015-10-14 15:56:50 +0200
  • 65f33ae615 remove unnecessary checks Oliver Kowalke 2015-10-14 15:54:08 +0200
  • 5345d810a8 asio: executed dummy fiber after sleep-timer expires Oliver Kowalke 2015-10-14 13:43:14 +0200
  • 51c1a96c4d introduce attach/detach of context Oliver Kowalke 2015-10-14 13:37:44 +0200
  • 7617b74e57 remove second unlinking from worker-queue in work-sharing example Oliver Kowalke 2015-10-12 22:05:15 +0200
  • 7d18820962 erase terminated context from worker-queue Oliver Kowalke 2015-10-12 22:00:40 +0200
  • c738fefec7 remove spinlock protecting context lists Oliver Kowalke 2015-10-12 21:59:47 +0200
  • c07115115c work sharing example: some modifications Oliver Kowalke 2015-10-12 18:55:54 +0200
  • 0deb75a699 modify work-sharign example Oliver Kowalke 2015-10-12 18:44:21 +0200
  • 1eafd3e281 support movable types Oliver Kowalke 2015-10-12 10:29:14 +0200
  • 22b96fc826 assertion: main- and dispatcher cotnext must not be unwinded Oliver Kowalke 2015-10-11 12:04:20 +0200
  • 380e8b30c1 use atomic coutner for remainng fibers Oliver Kowalke 2015-10-11 12:01:30 +0200
  • ac167e4d36 newline in test/Jamfile added Oliver Kowalke 2015-10-11 12:01:03 +0200
  • b859f8984a add assertion in get_next_() ensures scheduler is set Oliver Kowalke 2015-10-11 08:44:06 +0200
  • 950a1571bb do not move yielded contexts in resume_() Oliver Kowalke 2015-10-11 08:43:40 +0200
  • 01dda0048f remove std::mutex associated with yield-queue Oliver Kowalke 2015-10-11 08:42:48 +0200
  • d4c7232fa2 modify work-sharing example Oliver Kowalke 2015-10-11 08:41:49 +0200
  • dbfd80fb2d use yield-queue because work-sharing Oliver Kowalke 2015-10-10 21:52:03 +0200
  • ecab1c5ee6 work-sharing example Oliver Kowalke 2015-10-10 21:51:14 +0200
  • b032457397 asio examples added Oliver Kowalke 2015-10-10 21:49:46 +0200
  • ae67ee1694 asio's spawn() Oliver Kowalke 2015-10-05 19:23:16 +0200
  • 5d71a4f8cd asio examples Oliver Kowalke 2015-10-04 20:08:21 +0200
  • 5357f7038e scheduling-algorithm handles empty ready-queue Oliver Kowalke 2015-10-03 09:35:47 +0200
  • 4a37a15d19 move make_dispatcher_context() to cpp file Oliver Kowalke 2015-10-03 09:14:33 +0200
  • 8662b5e253 align main context and scheduler to 64byte boundaries Oliver Kowalke 2015-10-02 19:52:43 +0200
  • 4cd1a910d9 use schwarz counter idiom for static variable initialization Oliver Kowalke 2015-10-02 17:28:59 +0200
  • 20196fcd69 set active context to nullptr in ~scheduler() Oliver Kowalke 2015-09-30 19:58:04 +0200
  • 275ae3b981 add additional examples Oliver Kowalke 2015-09-30 17:38:44 +0200
  • f9ffd54666 addjust calling do_invoke() Oliver Kowalke 2015-09-30 17:38:12 +0200
  • 05bd4b9424 move context' from current scheduler to new, custom scheduler Oliver Kowalke 2015-09-30 17:37:11 +0200
  • 48d652adab add example wait_stuff Oliver Kowalke 2015-09-29 20:27:33 +0200
  • 6d24450d40 example futures_mt removed Oliver Kowalke 2015-09-29 20:26:35 +0200
  • 5ee6570363 check for unwinding on correct conntext after resume Oliver Kowalke 2015-09-29 20:10:10 +0200
  • 253d981f52 examples added Oliver Kowalke 2015-09-29 17:55:46 +0200
  • 4c791a3790 support for fiber properties + custom scheduler Oliver Kowalke 2015-09-29 17:54:29 +0200
  • b03ab3b3ba disable mt-tests Oliver Kowalke 2015-09-29 17:48:34 +0200
  • a847baa932 link/unlink of context protected by spinlock Oliver Kowalke 2015-09-28 19:58:22 +0200
  • eb7c4249d5 rename managed_is_linked() -> worker_is_linked() Oliver Kowalke 2015-09-28 19:35:59 +0200
  • 68f8053059 use do_invoke() Oliver Kowalke 2015-09-28 18:47:59 +0200
  • a48d3a44fa fix test Oliver Kowalke 2015-09-28 18:47:51 +0200
  • ef19ef9cc4 use auto for fiber-fn on fiber's stack Oliver Kowalke 2015-09-27 20:40:54 +0200
  • f0cd02e489 remove noexcept from fiber::detach() Oliver Kowalke 2015-09-27 20:40:36 +0200
  • 43da6f5c1c modify test for multithreaded access to future Oliver Kowalke 2015-09-27 16:16:09 +0200
  • 0b4c1ae306 store fiber-fn on fiber's stack Oliver Kowalke 2015-09-27 16:14:55 +0200
  • 73b03c1d67 use std::allocator_arg for execution_context ctor Oliver Kowalke 2015-09-27 16:09:11 +0200
  • 6e479279dd use flag for multihtreded use of condition test Oliver Kowalke 2015-09-24 17:36:41 +0200
  • fc404c58eb unwind at shutdown Oliver Kowalke 2015-09-24 17:35:40 +0200
  • 1f88055f42 enhance test Oliver Kowalke 2015-09-23 17:45:13 +0200
  • 7668f86c26 more comments in scheduler.cpp Oliver Kowalke 2015-09-23 17:44:50 +0200
  • d3076f930b some enhancements for scheduler Oliver Kowalke 2015-09-23 17:44:17 +0200
  • fcb981ccf7 pass flag_ as reference arg to lmbda for condition in autoreset_event Oliver Kowalke 2015-09-23 17:42:17 +0200
  • d0cb6e6756 some examples Oliver Kowalke 2015-09-22 21:10:14 +0200
  • e38dc9b139 renaming of scheduler member functions Oliver Kowalke 2015-09-22 19:30:29 +0200
  • b43f288469 support for futures added Oliver Kowalke 2015-09-22 19:17:08 +0200
  • 1b274d9b73 support for fiber-specific storage Oliver Kowalke 2015-09-22 19:10:09 +0200
  • b4f47821d9 add notice of derived work to tests Oliver Kowalke 2015-09-22 19:06:37 +0200
  • 38aa1f4366 support of detaching fibers added Oliver Kowalke 2015-09-22 19:04:48 +0200
  • 6ad6579666 fix interruption + condition:wait() Oliver Kowalke 2015-09-21 20:47:53 +0200
  • c0f3fe393c enhance test_fiber Oliver Kowalke 2015-09-21 20:37:55 +0200
  • 128b534058 fix context Oliver Kowalke 2015-09-21 20:34:41 +0200
  • 38457260bc remoce noexcept specifier from context::join() Oliver Kowalke 2015-09-21 20:33:09 +0200
  • 1ad58fbba1 add interruption Oliver Kowalke 2015-09-21 20:18:53 +0200
  • 2e0d09b3c7 fix comparation of address and nullptr Oliver Kowalke 2015-09-21 20:14:07 +0200
  • ef7daa9534 MSVC-fix for main_context/dispatcher_cotnext/worker_context Oliver Kowalke 2015-09-21 20:05:04 +0200
  • eec3d34fb0 remote ready-queue uses differrent hook than local ready-queue Oliver Kowalke 2015-09-20 22:06:59 +0200
  • 7b1e7839b4 class bounded_channel added Oliver Kowalke 2015-09-20 18:10:55 +0200
  • b8de63af06 class unbounded_channel added Oliver Kowalke 2015-09-20 18:05:05 +0200
  • 22a1f1257d some source code formating Oliver Kowalke 2015-09-20 15:38:43 +0200
  • bba963c64c class barrier added Oliver Kowalke 2015-09-20 15:38:32 +0200
  • a856a96369 class condtion added Oliver Kowalke 2015-09-20 11:33:59 +0200
  • 558012bdcf rewording of comments in scheduler implementation Oliver Kowalke 2015-09-20 11:28:11 +0200
  • 33093a2122 add missing header in operations.hpp Oliver Kowalke 2015-09-20 11:27:42 +0200
  • b3660a3432 reorder member variables of context Oliver Kowalke 2015-09-20 11:25:32 +0200
  • 067547f18e remove unused context::deallocate() Oliver Kowalke 2015-09-20 11:24:27 +0200
  • c8a1c4e4df class recursive_timed_mutex added Oliver Kowalke 2015-09-19 18:14:17 +0200
  • 6b01f060b7 class timed_mutex added Oliver Kowalke 2015-09-19 18:03:41 +0200
  • 1797badafc fix memory ordering for release-op (spinlock/mutex/recursive_mutex) Oliver Kowalke 2015-09-19 17:37:42 +0200
  • e6ddbe10a1 class recursive_mutex added Oliver Kowalke 2015-09-19 17:27:06 +0200
  • 44d4ce82e0 use atomic< context * > as owner type Oliver Kowalke 2015-09-19 17:26:33 +0200
  • 3f5e076f3a class mutex added Oliver Kowalke 2015-09-19 17:01:20 +0200
  • 943e21e69b add support for signaling a context as ready Oliver Kowalke 2015-09-19 16:19:02 +0200
  • 59946d4426 add noexcept keyword to scheduler::wait_until() and context::wait_until() Oliver Kowalke 2015-09-19 16:15:13 +0200
  • 4e1e9fc240 reminder/comment in scheduler Oliver Kowalke 2015-09-19 16:14:06 +0200
  • a89f4a5979 protect context' wait-queue for concurrent access Oliver Kowalke 2015-09-19 09:32:14 +0200
  • bbf41e95f3 add spinlock used to protect forr concurrent access (threads) Oliver Kowalke 2015-09-19 09:31:22 +0200
  • 6da902ff09 support sleep_for()/sleep_until() Oliver Kowalke 2015-09-19 08:59:53 +0200
  • 8d41c994af add unit-test for joining a fiber running in another fiber Oliver Kowalke 2015-09-18 18:33:35 +0200
  • 8a9c9916c7 support this_fiber::yield() Oliver Kowalke 2015-09-18 17:48:57 +0200
  • 7d448f4943 enhance unit-test: fiber-fn with additional arguments Oliver Kowalke 2015-09-18 17:36:33 +0200
  • bf0ea3749b add TODO comments Oliver Kowalke 2015-09-18 17:31:45 +0200
  • a8d426cc5f add more fiber tests Oliver Kowalke 2015-09-16 22:21:51 +0200
  • 7a794647ae replace context::terminated_is_linked() by context::is_terminated() Oliver Kowalke 2015-09-16 22:17:01 +0200
  • 00ae711cd7 join only non-terminated fibers Oliver Kowalke 2015-09-16 22:11:11 +0200
  • 70f4d9eeff rename variable active-context scheduler Oliver Kowalke 2015-09-16 22:10:23 +0200
  • 06e3037cc0 add comments ini scheduler Oliver Kowalke 2015-09-16 21:17:42 +0200