[partly offtopic] fcntl locks question

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

 



Hello all,

I briefly looked in kernel at how fcntl locks are implemented and they
seem to be matched by both pid and owner (files_struct). Is there any
way to get a process group there so multithread app could lock in one
thread and unlock in another? (I tried that and the other thread neither
unlocked the lock, nor got an error!!).

PS: I know this is not exactly kernel related, but I don't know where
else to ask and it's linux specific.

-------------------------------------------------------------------------------
						 Jan 'Bulb' Hudec <bulb@ucw.cz>
--
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