I don't think so. *Completion* are more like step down version of semaphore.
I think wait queue will solve my purpose.

  _____  

From: [email protected]
[mailto:[email protected]] On Behalf Of SandeepKsinha
Sent: Thursday, August 13, 2009 11:06 PM
To: Michael Blizek
Cc: Rangankar, Manish; [email protected]
Subject: Re: Condition Variables

 

Manish,



On Thu, Aug 13, 2009 at 8:43 PM, Michael Blizek
<[email protected]> wrote:

Hi!


On 17:03 Thu 13 Aug     , Rangankar, Manish wrote:
> Hi All,
>
>
>
> I want to know, does Linux supports *conditional variables*?

In userspace: yes
In kernelspace: no, use waitqueues instead


In Kernel,

Will "struct completion" serve your puspose?
 


       -Michi


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Regards,
Sandeep.


_____________________________________________________________________ 

This e-mail message may contain proprietary, confidential or legally privileged 
information for the sole use of the person or entity to whom this message was 
originally addressed. Any review, e-transmission dissemination or other use of 
or taking of any action in reliance upon this information by persons or 
entities other than the intended recipient is prohibited. If you have received 
this e-mail in error kindly delete this e-mail from your records. If it appears 
that this mail has been forwarded to you without proper authority, please 
notify us immediately at [email protected] and delete this mail.
_____________________________________________________________________

Reply via email to