How can I establish communication between packet server and enqueue processes?
How can I establish communication between packet server and enqueue processes?
There are two ways in which this can be implemented:The packet server process can deliver an access interrupt (using the op_intrpt_access () KP) on the packet stream connecting it to the enqueue process. To indicate subqueue from which to forward the packet, the packet server can use an ICI with a single integer attribute (using the KPs op_ici_create, op_ici_attr_set () and op_ici_install () ) set to the appropriate subqueue index.An easier method is for the packet server to issue a remote interrupt to the enqueue process and use the associated integer code (see op_intrpt_schedule_remote () KP) to indicate which subqueue to forward a packet from. However, this approach means that remote interrupts with codes ranging from zero to (N - 1), where N is the number of subqueues, cannot be used to denote any other logical event at the enqueue process.
DES Kernel->Process Modeling/Coding