
Thread Management Functions in C - GeeksforGeeks
Jul 11, 2025 · In C language, POSIX <pthread.h> standard API (Application program Interface) for all thread related functions. It allows us to create multiple threads for concurrent process flows. …
Multithreading in C - GeeksforGeeks
Jul 23, 2025 · Multithreading in C In C programming language, we use the POSIX Threads (pthreads) library to implement multithreading, which provides different components along with …
pthread_create (3) - FreeBSD
Apr 2, 1999 · PTHREAD_CREATE (3) Library Functions Manual PTHREAD_CREATE (3) NAME pthread_create -- create a new thread LIBRARY POSIX Threads Library (libpthread, -lpthread) …
POSIX Threads in OS - GeeksforGeeks
Dec 10, 2022 · POSIX Threads in OS : The POSIX thread libraries are a C/C++ thread API based on standards. It enables the creation of a new concurrent process flow. It works well on multi …
Mutex lock for Linux Thread Synchronization - GeeksforGeeks
Aug 25, 2025 · Thread synchronization ensures that multiple threads or processes can safely access shared resources without conflicts. The critical section is the part of the program where …
Handling multiple clients on server with multithreading using …
Jul 23, 2025 · After successfully receiving data, call for pthread_create to create reader threads and writer threads. After making successful connections to the server-client asks the user for …
How to use POSIX semaphores in C language - GeeksforGeeks
May 21, 2025 · A semaphore is a mechanism used in multithreaded programs for managing the access to shared resources, such as memory or files, by the threads when multiple tasks or …
Parallel Programming in C - GeeksforGeeks
Jul 23, 2025 · pthread_t: It is used to declare thread Id variables. pthread_create: This method is used to create a thread pthread_join: This method is used to join two threads so that they can …
Sum of an array using pthreads - GeeksforGeeks
Dec 27, 2023 · Sum of array is a small problem where we have to add each element in the array by traversing through the entire array. But when the number of elements are too large, it could …
Odd Even Transposition Sort / Brick Sort using pthreads
Jul 11, 2025 · Odd-Even Transposition Sort is a parallel sorting algorithm. It is based on the Bubble Sort technique, which compares every 2 consecutive numbers in the array and swap …