Re: semaphore ownership

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

 



On Fri, Mar 20, 2009 at 8:30 PM, Shyam Burkule <shyam.burkule@xxxxxxxxx> wrote:
> Hello All,
>
>           Is it possible to take semaphore in one thread and release it in
> another thread?
>
> Thanks
> Shyam
>

Hello ,

Of course it is possible as long as you have a reference to the semaphore.

But be aware that the usage of semaphores is advisory , and it depends
on you to implement a good functionality.

thanks,
Daniel.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at 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