COMPILATION INSTRUCTIONS

To compile a program that uses the pthread library, use:

    gcc -Wall -pthread *.c

Explanation:
- -Wall      : enables compiler warnings
- -pthread   : enables and links the POSIX threads (pthread) library

Note:
Even if the program compiles without -pthread on some systems,
you should always include it to ensure correct behavior.