Re: Question about _wq in the class Sender
Yuxin Ren <[email protected]>
| Newsgroups | gmane.comp.micro-kernel.l4.devel |
|---|---|
| Message-ID | <CAAKbDrcxzd6ak0wwf_hBUMomVvSVrW+GR=mFJO1ZvuL7bL2DzQ@mail.gmail.com> |
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 < [email protected]> 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 [email protected] > Lackorzynski http://os.inf.tu-dresden.de/~adam/ > > _______________________________________________ > l4-hackers mailing list > [email protected] > http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers > _______________________________________________ l4-hackers mailing list [email protected] http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers