From mboxrd@z Thu Jan 1 00:00:00 1970 From: michi1@michaelblizek.twilightparadox.com (michi1 at michaelblizek.twilightparadox.com) Date: Mon, 20 Apr 2015 17:23:53 +0200 Subject: wait queues In-Reply-To: <55345527.2050402@mrbrklyn.com> References: <55345527.2050402@mrbrklyn.com> Message-ID: <20150420152352.GA4333@grml> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org Hi! On 21:23 Sun 19 Apr , Ruben Safir wrote: > I'm not pouring over Love's book in detail and the section in Chapter 4 > on the wit queue is implemented in the text completely surprised me. > > He is recommending that you have to right your own wait queue entry > routine for every process? Isn't that reckless? I would not recommend that. There are already functions in linux/wait.h for these purposes like wait_event_interruptible(). -Michi -- programing a layer 3+4 network protocol for mesh networks see http://michaelblizek.twilightparadox.com