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/