06-04-2022 - Threads - part 2 ----------------------------------------------------------------- Detailed program: * POSIX pthread_create, pthread_join, pthread_exit * WIN32 CreateThread, ExitThread, GetExitCodeThread * gcc optmizations * volatiles +--------------------+------------------------------------------------------------------------------------+ |Slides: |:download:`03-threads.pdf ` | +--------------------+------------------------------------------------------------------------------------+ |Code examples: |:download:`03-examples.zip ` | +--------------------+------------------------------------------------------------------------------------+ |Ex. solutions: |:download:`03-solutions.zip ` | +--------------------+------------------------------------------------------------------------------------+ Useful Links """""""""""" * `WaitForSingleObject `_ * `CreateThread `_ * `ExitThread `_ * `GetExitCodeThread `_ * `ResumeThread `_ * `pthread_create `_ * `pthread_join `_ * `pthread_exit `_ * `gcc volatile `_ * `gcc optimization flags `_