Creating a new thread with pthreads and Qthreads
firstcode.c
with Q threads
A place to download Qthread library
pthreads in C++
Parallel threads
The original serial code
Using parallel threads
Detaching a thread
Cancelling a thread
Using mutexes for synchronization
First mutex example
Second mutex example
Searching for a value again
Copying files in parallel
Copying files in C++
Using condition variables
Showing the use of condition variables
Copying files using condition variables
Using Posix semaphores
Using a binary semaphore
Using a counting semaphore
Scheduling a thread
Using thread attributes
Go back
to CISC 7340 homepage