title: Is java native method calls are Atomic calls?
body: <p>I need certain operation to be Atomic.</p>
  
  <p>Here 'Atomic' means to say "once that method started execution, it shouldn't be interrupted till it finishes, And even thread scheduler also should not make that thread to Runnable state once its in Running state".</p>
  
  <p>All methods are Native methods and multiple threads are running concurrently to execute these methods.</p>
  
  <p>First Question: Is the native methods execution is Atomic in nature?</p>
  
  <p>Second Question : To achieve the Atomicity, Can we use java concurent/lock APIs, if yes, please provide any example/link if possible?</p>
  
  <p>Thanks.</p>