can anyone please explain the concept of dispatcher, is it one dispatcher per thread or anything else
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With