From: steved@pacifier.com (Steve Doiel)
Subject: Re: Tasking Techniques - Opinions?
Date: 1997/06/07
Date: 1997-06-07T00:00:00+00:00 [thread overview]
Message-ID: <5nahlk$oln$1@news.pacifier.com> (raw)
In-Reply-To: 3394EC73.3011@bix.com
In article <3394EC73.3011@bix.com>, tmoran@bix.com says...
>
>> A third
>> module contains a "send task" that is in a short loop that
>> removes entries from the send queue, transmits the data out the
>> socket and then returns the packet buffer to the free pool.
>What does this task do if there's nothing to send? Does it sit and eat
>CPU or is there some way it can go to sleep and be awakened when there's
>work to do, or is it always busy and my question is irrelevant?
The send queue remove operation is contained within an entry to a
protected type that has a guard condition causing the task to pend
if the queue is empty.
next prev parent reply other threads:[~1997-06-07 0:00 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-06-04 0:00 Tasking Techniques - Opinions? Steve Doiel
1997-06-03 0:00 ` Tom Moran
1997-06-07 0:00 ` Steve Doiel [this message]
1997-06-04 0:00 ` bsanden
1997-06-04 0:00 ` Samuel A. Mize
1997-06-05 0:00 ` Jon S Anthony
1997-06-06 0:00 ` Samuel A. Mize
1997-06-07 0:00 ` Robert Dewar
1997-06-10 0:00 ` Jon S Anthony
1997-06-04 0:00 ` Jon S Anthony
1997-06-05 0:00 ` Robert A Duff
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox