什么是调度员 [英] what is a dispatcher

查看:382
本文介绍了什么是调度员的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以请解释调度的概念,每个线程或其他任何这一个调度程序

can anyone please explain the concept of dispatcher, is it one dispatcher per thread or anything else

推荐答案

如果你要求参照C#中,调度员 ...

If you're asking in reference to c#, a dispatcher...

...保持工作项针对特定线程优先级队列。

...maintains a prioritized queue of work items for a specific thread.

当一个调度员是在一个线程创建的,就变成可以与线程相关联的唯一分派器,即使分派器被关闭。

When a Dispatcher is created on a thread, it becomes the only Dispatcher that can be associated with the thread, even if the Dispatcher is shut down.

..所以,是的,每个线程之一。

..so yes, one per thread.

这篇关于什么是调度员的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆