Skip to content

Instantly share code, notes, and snippets.

@alureon
Last active February 12, 2023 16:34
Show Gist options
  • Save alureon/c10cec2d193c98697f0fe40616e97501 to your computer and use it in GitHub Desktop.
Save alureon/c10cec2d193c98697f0fe40616e97501 to your computer and use it in GitHub Desktop.
ROBLOX multiple clients
#include <windows.h>
#include <stdio.h>
int main(int argc, char *argv[])
{
HANDLE mutex = CreateMutexA(NULL, TRUE, "ROBLOX_singletonMutex");
puts("Enter 'q' to quit");
while (getchar() != 'q');
ReleaseMutex(mutex);
CloseHandle(mutex);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment