OS2 World Community Forum
OS/2, eCS & ArcaOS - Technical => Programming => Topic started by: Dariusz Piatkowski on April 10, 2018, 03:36:47 pm
-
I figured that as I'm experimenting with GCC and the multi-threading models I might as well use this space to accumulate the references to various on-line materials and my experiences as I plug-away through this.
OK, so this is just an intro post, my next one will be a continually updated ON-LINE REFERENCES post. If anyone has better ideas for aggregating this (I already excluded private blog since I wanted to expose as much of this info as possible in a central/public location, and this forum seemed like the best place to do so).
-
This is an on-going listing of various on-line references on the subject of using the pthread (multi-threading) library in GCC.
1) https://computing.llnl.gov/tutorials/pthreads/ (https://computing.llnl.gov/tutorials/pthreads/)
'POSIX Threads Programming', superbly written and in-depth review of the pthread library, with examples and detailed walk-throughs.
2) http://www.includehelp.com/c-programming-questions/compiling-program-with-pthread-library-linux.aspx (http://www.includehelp.com/c-programming-questions/compiling-program-with-pthread-library-linux.aspx)
'Compiling C program with pthread.h library in Linux', good example of a very simple use of the pthread library, includes the walk-through of the necessary GCC flags needed to include the pthread library during the linking stage.