Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what is a dispatcher

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

like image 847
taher chhabrawala Avatar asked Apr 13 '10 07:04

taher chhabrawala


People also ask

What is a role of dispatcher?

A Dispatchers responsibilities include receiving emergency and non-emergency calls, monitoring driver logs, keeping records, addressing problems, and dispatching appropriate team members. Their duties can also include monitoring weather reports or notifying authorities if necessary.

What is the meaning of dispatch work?

Dispatch is a procedure for assigning employees (workers) or vehicles to customers. Industries that dispatch include taxicabs, couriers, emergency services, as well as home and commercial services such as maid services, plumbing, HVAC, pest control and electricians.


1 Answers

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.

like image 66
Jon Cage Avatar answered Sep 28 '22 16:09

Jon Cage