Question about _wq in the class Sender

Yuxin Ren ryx at gwmail.gwu.edu
Tue Jul 15 00:51:45 CEST 2014


This makes sense.
However I think the receiver needs this queue to save senders who want to
talk to it.
So why does sender still need this "_wq"?

Thank you.


On Mon, Jul 14, 2014 at 5:06 PM, Adam Lackorzynski <
adam at os.inf.tu-dresden.de> wrote:

> On Thu Jul 10, 2014 at 14:20:20 -0400, Yuxin Ren wrote:
> > I note in the Sender class there is a variable "_wq".
> > What is the role of this variable?
> > And in the IPC, we set it to the sender_list of receiver.
> > Why?
>
> wq is short for wait-queue and it is used during IPC to connect sender
> and receiver. The queue is prio sorted so that IPCs happen according to
> their prio.
>
>
>
> Adam
> --
> Adam                 adam at os.inf.tu-dresden.de
>   Lackorzynski         http://os.inf.tu-dresden.de/~adam/
>
> _______________________________________________
> l4-hackers mailing list
> l4-hackers at os.inf.tu-dresden.de
> http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://os.inf.tu-dresden.de/pipermail/l4-hackers/attachments/20140714/bf3bca19/attachment.html>


More information about the l4-hackers mailing list