Thread Safety

Discussion in 'Plugin Development' started by Chris Covert, Feb 11, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    Lologarithm

    This is exactly what I was going to recommend.
     
  2. Offline

    matejdro

    So i should do like i do now, except that instead of code running in my own thread, just start scheduler from that thread?
     
  3. Offline

    Lologarithm

    Start a new thread, have it sleep for the amount of time you want, and then wake up and execute the function you want when it wakes up. (probably have it run a 0 delay sync task in the main thread.)
     
Thread Status:
Not open for further replies.

Share This Page