VSTs, MessageManagerLock, assertion failures/crashes

Ah, that’s why! :slight_smile:
Windows Sleep() takes a millisecond argument. Unix sleep() sleeps for an amount of seconds.
http://linux.die.net/man/3/sleep
and usleep() sleeps for microseconds, that’s what I used:
http://linux.die.net/man/3/usleep

That’s why I used Thread::sleep instead - I always get confused by the different units that the platform-specific methods take.

Ah, I didn’t know that this method existed, thought you were calling unix sleep(). Alright then… :slight_smile: