"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 ...
This post has been archived. It cannot be replied.