bevy/crates/bevy_tasks/src
Zachary Harrold 6bb7573a33
Switch from OnceCell to LazyLock in bevy_tasks (#18506)
# Objective

Remove `critical-section` from required dependencies, allowing linking
without any features.

## Solution

- Switched from `OnceCell` to `LazyLock`
- Removed `std` feature from `bevy_dylib` (proof that it works)

## Testing

- CI
2025-03-24 07:43:22 +00:00
..
iter Add no_std support to bevy_tasks (#15464) 2024-12-06 02:14:54 +00:00
edge_executor.rs Switch from OnceCell to LazyLock in bevy_tasks (#18506) 2025-03-24 07:43:22 +00:00
executor.rs Support for non-browser wasm (#17499) 2025-03-07 21:22:28 +00:00
futures.rs Move futures.rs, ConditionalSend and BoxedFuture types to bevy_tasks (#16951) 2024-12-29 19:29:53 +00:00
lib.rs Support for non-browser wasm (#17499) 2025-03-07 21:22:28 +00:00
single_threaded_task_pool.rs Fix clippy warning about unnecessary return in single_threaded_taks_pool.rs (#18472) 2025-03-22 09:03:29 +00:00
slice.rs Remove Implicit std Prelude from no_std Crates (#17086) 2025-01-03 01:58:43 +00:00
task_pool.rs TaskPool: Prefer task completion over executing new tasks (#18009) 2025-02-26 00:08:36 +00:00
task.rs Fix no_std CI Warnings and WASM Compatibility (#17049) 2024-12-30 23:01:27 +00:00
thread_executor.rs Fix no_std CI Warnings and WASM Compatibility (#17049) 2024-12-30 23:01:27 +00:00
usages.rs Support for non-browser wasm (#17499) 2025-03-07 21:22:28 +00:00
wasm_task.rs Fix no_std CI Warnings and WASM Compatibility (#17049) 2024-12-30 23:01:27 +00:00