title: last_insert_id with multiple threads
body: <p>I'm writing an application in C# that basically consists of two threads. Thread 1 gets data and puts it into a database, thread 2 takes that data does some additional operations. Will I run into problems with last_insert_id, like getting an insert id in the first thread from an insert that was done in the second thread? I am using the connector .net and primarily use the MySqlHelper with the connection string as a parameter. </p>
  
  <p>Is last_insert_id safe to use in this case or would I be better off rethinking my approach, like creating two separate applications for these to tasks?</p>
  
  <p>Also, I can't do everything in one thread. Each thread runs periodically and takes a different amount to complete. The first thread has to be able to insert data while the second thread performs its operations.</p>