Multiple Instances

I bet this isn’t exactly easy to implement in all platforms, but I think an
important addition to SDL would be the ability to check for multiple
instances of a program. Seriously, if you start a game that takes half your
RAM and complete control of the screen, you sure don’t want a second
instance accidently starting up! Plus you get into issues like using more
than one client simultaneously (in online games) for purposes of cheating,
etc…

Anyways, just something that occured to me that I think is going to be very
important to any large projects.

  • Brent

I bet this isn’t exactly easy to implement in all platforms, but I think an
important addition to SDL would be the ability to check for multiple
instances of a program. Seriously, if you start a game that takes half your
RAM and complete control of the screen, you sure don’t want a second
instance accidently starting up! Plus you get into issues like using more
than one client simultaneously (in online games) for purposes of cheating,
etc…

Anyways, just something that occured to me that I think is going to be very
important to any large projects.

This is important, but is beyond the scope of SDL. This usually involves
creating some global lock resource and exiting if the resource is locked.

See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software