Created
April 21, 2017 11:21
-
-
Save dusekdan/52622e2322e276afce975e4f57f5b177 to your computer and use it in GitHub Desktop.
This file contains 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
/** | |
* Displays program's help screen | |
*/ | |
void showHelp () | |
{ | |
printf ("Ticket algorithm synchronization demo.\n\n"); | |
printf ("Usage: ./XXX N M\n\n"); | |
printf ("Creates N threads and simulates M number of total passes through critical section protected by ticket algorithm.\n\n"); | |
printf ("No other available options. Wrong parameters to the program shows this help.\n"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment