bevy/crates/bevy_tasks/src
Mike 0f3f628c48 tick local executor (#6121)
# Objective

- #4466 broke local tasks running.
- Fixes https://github.com/bevyengine/bevy/issues/6120

## Solution

- Add system for ticking local executors on main thread into bevy_core where the tasks pools are initialized.
- Add ticking local executors into thread executors

## Changelog

- tick all thread local executors in task pool.

## Notes

- ~~Not 100% sure about this PR. Ticking the local executor for the main thread in scope feels a little kludgy as it requires users of bevy_tasks to be calling scope periodically for those tasks to make progress.~~ took this out in favor of a system that ticks the local executors.
2022-10-24 13:46:40 +00:00
..
iter small and mostly pointless refactoring (#2934) 2022-02-13 22:33:55 +00:00
lib.rs tick local executor (#6121) 2022-10-24 13:46:40 +00:00
single_threaded_task_pool.rs Nested spawns on scope (#4466) 2022-09-28 01:59:10 +00:00
slice.rs Document bevy_tasks and enable #![warn(missing_docs)] (#3509) 2022-01-16 04:53:22 +00:00
task_pool.rs tick local executor (#6121) 2022-10-24 13:46:40 +00:00
task.rs Mark Task as #[must_use] (#6068) 2022-09-22 17:21:16 +00:00
usages.rs tick local executor (#6121) 2022-10-24 13:46:40 +00:00