≡ Menu

pthread_create Example

In the part-II (Thread creation and Identification) of the Linux Thread series, we discussed about thread IDs, how to compare two thread IDs and how to create a thread. In this article we will mainly focus on how a thread is terminated. Linux Threads Series: part 1, part 2, part 3 (this article). C Thread [...]

{ 18 comments }

In the part I of the Linux Threads series, we discussed various aspects related to threads in Linux. In this article we will focus on how a thread is created and identified. We will also present a working C program example that will explain how to do basic threaded programming. Linux Threads Series: part 1, [...]

{ 18 comments }