What is the best way to get around Java's lack of file...
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

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

Check out brand new jdk 1.4. There seems to be file locking methods.
About | Sitemap | Contact