Thread Libraries

This allows the programmer to manage threads

this can be done by:

  1. Using a user-space library (only gives access to user-space threads)
  1. Using a kernel-level library

Pthreads

Example
How to join 10 threads

Windows Multithreaded C Program

Example

Java Threads

(look i have no idea whats going on so i just ss it)

Example