Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Looking file access with flock: (1 Item)
   
Looking file access with flock  
Hi All,
This is my first post and i am very new to QNX.
I am analyzing existing code. A file is locked with flock(fd,LOCK_EX ) and it is not unlocked. Does closing the file 
with close(fd) removes all the lock? Locking and closing the file is done in same thread only.