I test multiprocess record lock with fcntl function, my current request needs to use record lock between threads. I tested it, but it doesnot work as thought, do you have any suggestion on multithreads record locking?
Asked
Active
Viewed 240 times
1
-
What did you test? Show code please. And you could wrap your record accessing function with pthread mutex locks. – Basile Starynkevitch Jan 05 '12 at 08:47