# Use Windows native API to impl dispatcher \(\#9280\) · gitcafe/zed

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

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

Visibility: public

Requested revision: c2d27c44f9361ba17347e20efc4e24c845507025

Requested commit: c2d27c44f9361ba17347e20efc4e24c845507025

Commit: c2d27c44f9361ba17347e20efc4e24c845507025

Tree: b1f6b9473ff03c35371bbe799628bef312895cb2

Author: 张小白

Committer: GitHub

## Message

```
Use Windows native API to impl dispatcher (#9280)

Using `Threadpool` and `TimerQueue` which are provided by the native
Windows APIs, to implement the corresponding interfaces, we do not need
to sort tasks ourselves as Windows will handle it in a relatively more
efficient manner, I guess. I am unsure if Zed would welcome this PR, and
suggestions are welcome.

Release Notes:

- N/A
```

## Parents

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

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