Commit graph

20 commits

Author SHA1 Message Date
Aode (Lion) 5ba4dab3cf Print string repr in io example 2022-02-11 15:15:00 -06:00
Aode (Lion) 9d04b5e700 Remove steal printing 2022-02-11 15:12:19 -06:00
Aode (Lion) fb209c7ff9 Don't deadlock on mutual stealing 2022-02-11 15:11:58 -06:00
Aode (Lion) 5b745553b0 Don't steal entire thread task list for processing 2022-02-11 15:11:32 -06:00
Aode (Lion) 0bc01de384 Try waking after spawn 2022-02-10 22:31:44 -06:00
Aode (Lion) c2600abd06 Start work on work-stealing 2022-02-10 22:25:38 -06:00
Aode (Lion) 2dfe035ee0 Add IO example with async-io 2022-02-07 21:37:08 -06:00
Aode (Lion) deffc857ef Update demo example to use a dummy waker 2022-02-07 21:36:56 -06:00
Aode (Lion) 25d4b61abc Implement Future for Executor, remove lists in favor of VecDeque 2022-02-07 21:36:33 -06:00
Aode (Lion) 0380dc2094 Use oneshot in multi-thread example 2022-01-29 20:59:19 -06:00
Aode (Lion) ec7e40a309 formatting changes 2022-01-29 20:59:10 -06:00
Aode (Lion) 39240b4a50 Fix spawn_count heuristic 2022-01-29 20:48:12 -06:00
Aode (Lion) e145fdc7b8 Print thread id in multi-thread example 2022-01-29 20:27:33 -06:00
Aode (Lion) 28b72a7d60 Add block_on, multi-thread example 2022-01-29 20:26:35 -06:00
Aode (Lion) 3aa0f237b3 Use atomic swap to ensure only 1 wake operation procedes 2022-01-29 17:41:07 -06:00
Aode (Lion) efc736f88d Add comments around task reclaiming to demo 2022-01-29 16:15:23 -06:00
Aode (Lion) 2c4976fba1 Demonstrate task reclaim behavior in example 2022-01-29 16:10:04 -06:00
Aode (Lion) 1e934d7766 Rename 'Node' to 'Task' 2022-01-29 16:09:48 -06:00
Aode (Lion) d7d825a920 Move prune after loop in demo, demonstrates task re-use 2022-01-29 16:01:09 -06:00
Aode (Lion) b046efc0bf It seems to work 2022-01-29 15:50:49 -06:00