Last active
February 12, 2023 16:34
-
-
Save alureon/c10cec2d193c98697f0fe40616e97501 to your computer and use it in GitHub Desktop.
ROBLOX multiple clients
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #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