/multithreaded-posix

Multi-Threaded Programming with POSIX Threads - Linux Systems Programming

Primary LanguageC

multithreaded-posix

Multi-Threaded Programming with POSIX Threads - Linux Systems Programming

Fundamental of multithreading concepts through POSIX threads such as: pthread_create, pthread_join, etc with use cases such as: generate a request and handle request through multiple threads and synchronization.

code compilation

Linux machine or cygwin having with gcc or g++ compiler.

To compile and execute

gcc -lpthread "include_all_files_which_are_dependent".c -o "executable_file_name"

Example:

(compile) ==> gcc -lpthread main.c ---> "once executed this command, check for a.exe file" (execute) ==> ./a.exe