Commit graph

19 commits

Author SHA1 Message Date
69074ee66c Enable aborting tasks 2023-08-27 16:35:22 -05:00
110a919385 Add cooperative one-at-a-time mode 2022-03-07 18:53:50 -06:00
83986615a0 Add run_with method on Executor to run with a 'main' future 2022-02-16 17:53:54 -05:00
c983ea9d9e Always forward wake 2022-02-15 13:35:27 -06:00
2f032f9e13 Check if executor owns waking task before setting woken 2022-02-14 19:29:05 -06:00
b1d60cc8cd Remove duplicate spawn definition 2022-02-11 16:09:37 -06:00
4c3edb92cc Panic when spawning on non-running executor, wake threads on stop 2022-02-11 15:40:23 -06:00
9d04b5e700 Remove steal printing 2022-02-11 15:12:19 -06:00
fb209c7ff9 Don't deadlock on mutual stealing 2022-02-11 15:11:58 -06:00
5b745553b0 Don't steal entire thread task list for processing 2022-02-11 15:11:32 -06:00
0bc01de384 Try waking after spawn 2022-02-10 22:31:44 -06:00
c2600abd06 Start work on work-stealing 2022-02-10 22:25:38 -06:00
25d4b61abc Implement Future for Executor, remove lists in favor of VecDeque 2022-02-07 21:36:33 -06:00
ec7e40a309 formatting changes 2022-01-29 20:59:10 -06:00
39240b4a50 Fix spawn_count heuristic 2022-01-29 20:48:12 -06:00
28b72a7d60 Add block_on, multi-thread example 2022-01-29 20:26:35 -06:00
3aa0f237b3 Use atomic swap to ensure only 1 wake operation procedes 2022-01-29 17:41:07 -06:00
1e934d7766 Rename 'Node' to 'Task' 2022-01-29 16:09:48 -06:00
b046efc0bf It seems to work 2022-01-29 15:50:49 -06:00