- Lecture 2 sample code: process_fork_wait.c.
Learn how to create process with fork and wait. You can also find other Linux process functions, e.g., clone and kill, from Linux man page.
- Lecture 3 sample code: pthread_hello_world.c and pthread_vec_add.c
Learn how to use pthread for independent work and collaborative work.
- Lecture 4 sample code: pthread_dining_philosopher.c
Learn how to use mutex
- Lecture 5 sample code: pthread_dining_philosopher_deadlock.c and pthread_dining_philosopher_nodeadlock.c
Learn deadlock
- Dr. Hang Liu
- Email: [email protected]