title: Is A Member Function Thread Safe?
body: <p>I have in a Server object multiple thread who are doing the same task. Those threads are init with a Server::* routine.</p>
  
  <p>In this routine there is a infinite loop with some treatments.</p>
  
  <p>I was wondering if it was thread safe to use the same method for multiple threads ? No wonder for the fields of the class, If I want to read or write it I will use a mutex. But what about the routine itself ? </p>
  
  <p>Since a function is an address, those thread will be running in the same memory zone ?</p>
  
  <p>Do I need to create a method with same code for every thread ?</p>
  
  <p>Ps: I use std::mutex(&amp;Server::Task, this)</p>