Close
jGuru Forums
Posted By: Thomas_Jung Posted On: Monday, March 12, 2001 02:13 PM
What is the best way to get around Java's lack of file locking ? I understand that the use of a temporary lock file (by using createNewFile to check for the lock) can solve this problem - but - how do we use it ? i.e. how do we get other threads to wait when the lock file is present and createNewFile returns false.
Re: What is the best way to get around Java's lack of file...
Posted By: Gianluca_Sartori Posted On: Friday, December 21, 2001 01:14 AM