Files
codex/codex-rs/core/src
jif-oai 277fc6254e chore: use tokio mutex and async function to prevent blocking a worker (#3850)
### Why Use `tokio::sync::Mutex`

`std::sync::Mutex` are not _async-aware_. As a result, they will block
the entire thread instead of just yielding the task. Furthermore they
can be poisoned which is not the case of `tokio` Mutex.
This allows the Tokio runtime to continue running other tasks while
waiting for the lock, preventing deadlocks and performance bottlenecks.

In general, this is preferred in async environment
2025-09-18 18:21:52 +01:00
..
2025-09-16 18:02:15 +00:00
2025-09-02 17:29:58 +00:00
2025-09-05 10:41:47 -07:00
2025-09-16 13:36:51 -07:00
2025-08-29 02:16:39 +00:00
2025-09-15 08:17:13 -07:00
2025-09-16 18:43:32 -07:00
2025-09-15 08:17:13 -07:00
2025-09-10 17:38:11 -07:00
2025-09-02 17:29:58 +00:00