简体   繁体   中英

what is a dispatcher

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM