title: Synchronizing stored procedures in mysql
body: <p>I have two applications, both of them are using the same stored procedure in MySQL.
  I would like this procedure to be synchronized, that is while one applications calls it, the other one has to wait.</p>
  
  <p>Is there a way to do this without altering the codes of the applications (that is only modifying the stored procedure)?</p>
  
  <p>Thanks,
  krisy</p>