Need clear understanding on Synchronization implementation in java
i have created one application in java, in which i have used synchronized block. In synchronized block i have written some statements.
so my question is ,when i keep some statements in synchronized block then execution of these statement would be atomic respective to all application threads in Operating system?
or the execution of these statement would be atomic only for application threads what i have created inside application.