Go up to Software Architecture Go forward to Task Scheduling |
The scheduler is implemented by a number of concurrent threads as shown in Figure *. Threads listening on all input channels put the received messages into a central buffer from where a server thread takes and processes them and creates new messages that are placed in some of the output buffers. Threads listening on these buffers take these messages and send them to the corresponding output channels. The multithreaded implementation of the communication interface is intended to maximize the overall throughput of the system.