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.
and usleep() sleeps for microseconds, that’s what I used:

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: