AFAIK, Mutex is a good tool to limit instances of your game. I simply want to avoid a case where a user accidently runs more than one copy of my game at once. So i used a Mutex (tried both window's and SDL_mutex) and there's seems to be some nasty, annoying bug with SDL / SDL_mixer that makes your game crash. Took me two days just to figure out the reason for it. Searching for a solution for the bug didn't help much - there's seems to be some documentation about this bug, but no real bypass / solution or even a hint for one. I have considered using the old method of creating a file and disallowing any other instance to continue while this file is around - but its disadvantage that once your game crashes, you need to manually remove this file. so... does anyone have experience with SDL & SDL_mixer while using Mutex? or maybe a better method?