Question about _wq in the class Sender

Adam Lackorzynski adam at os.inf.tu-dresden.de
Mon Jul 14 23:06:57 CEST 2014


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/




More information about the l4-hackers mailing list