function down_interruptible, how it works?

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

 



Hi all,

the function down_interruptible(&sem) returns true if
the sem was already held by another task. Am I right?

When the critical region is up, the task from wait
queue is woken up and it is restored from the point it
has stopped to run, I mean it keeps the execution
after the down_interruptible(&sem). Am I right?

BR,

Mauricio Lin

=====
************************************************
  Conhecimento vem do seu instrutor; 
  Sabedoria vem do seu interior.  
  (Bruce Lee)             
************************************************

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/




[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