Files
oak-gpui/crates/gpui/src
Conrad Irwin c73d6502d6 Make block_with_timeout more robust (#11670)
The previous implementation relied on a background thread to wake up the
main thread,
which was prone to priority inversion under heavy load.

In a synthetic test, where we spawn 200 git processes while doing a 5ms
timeout, the old version blocked for 5-80ms, the new version blocks for
5.1-5.4ms.

Release Notes:

- Improved responsiveness of the main thread under high system load
2024-05-10 13:10:02 -06:00
..
2024-05-07 23:29:03 -06:00
2024-03-11 10:45:57 +01:00
2024-03-06 18:15:06 -08:00
2024-04-29 16:37:37 -04:00
2024-01-21 14:26:45 -08:00
2024-01-21 14:26:45 -08:00