Project 9: philosophers - Ninth project for the formation of software engineers at school 42 São Paulo.
- This project is about the basics of threading a process. How to create threads and use mutexes.
Some necessary concepts to develop this project.
- What is the processor?
- What is the core?
- What are threads?
- What are processes?
- Difference between processes and threads
We can use some extern functions. Follows a description of each of them.
- memset
- malloc
- free
- write
- usleep
- gettimeofday
- pthread_create
- pthread_join
- pthread_mutex_init
- pthread_mutex_lock
- pthread_mutex_unlock
- pthread_mutex_destroy