RE: Condition Variables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


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

 

Manish,

On Thu, Aug 13, 2009 at 8:43 PM, Michael Blizek <michi1@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> 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 ecartis@xxxxxxxxxxxx
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 netadmin@xxxxxxxxx and delete this mail.
_____________________________________________________________________

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux