"synchronized" in Java programming can not completely solve the problem of file locking.

old (HH)
"synchronized" in Java programming can not completely solve the problem of file locking. Suppose 1. there are two PCs on network where they can access a file on a file server on the same newwork. Or 2. There are two tasks running on the same PC and attempt to access a file simutaneously. How can "synchronized" do ...
(#15833@0)
2000-11-26 -05:00

回到话题: Re #15734: how to lock a file in Java? I mean how java provide flock()?

回到论坛: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论

URL:   
http://www.rolia.net/zh/post.php?f=0&p=15833