# gpui: Give windows message loop processing chances when we overload the main thread with tasks \(\#43678\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/aa899f6d785826446f105c18f94e863f8c2e2b94)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: aa899f6d785826446f105c18f94e863f8c2e2b94

Requested commit: aa899f6d785826446f105c18f94e863f8c2e2b94

Commit: aa899f6d785826446f105c18f94e863f8c2e2b94

Tree: d39842e41d3c5c1280c1de5ab053fc17555d50c3

Author: Lukas Wirth

Committer: GitHub

## Message

```
gpui: Give windows message loop processing chances when we overload the main thread with tasks (#43678)

This reduces hangs on windows when we have many tasks queued up on the
main thread that yield a lot.

Release Notes:

- Reduced hangs on windows in some situations
```

## Parents

- [5f0212de5fb76c91c4b8991f1bc8ed1464a2e527](https://git.cafe/gitcafe/zed/commit/5f0212de5fb76c91c4b8991f1bc8ed1464a2e527?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/aa899f6d785826446f105c18f94e863f8c2e2b94?format=markdown)
