You can synchronize on any object.
Check out this tutorial
If you still have questions please ask again.
in short:
1. yes
2. you can use any object for a lock
3. when an object is locked,...
Type: Posts; User: jps
You can synchronize on any object.
Check out this tutorial
If you still have questions please ask again.
in short:
1. yes
2. you can use any object for a lock
3. when an object is locked,...