6. Pthread condition variable in Linux

Condition variable one type of thread synchronization mechanism.

By using condition variable we can tell one thread that when to execute.

using pthread_cond_signal pass the signal to another thread, this signal can be catch by another thread using pthread_cond_wait.

5. Pthread Mutex in Linux

Mutex is used to synchronize the thread.

What would be the final value of globalCount in below program?

4. Thread joining in Linux

Program which contain in the post this and this main doesn't wait for thread finishes their work. 
We can make the main thread wait for the child thread to finish their work with the help of thread join mechanism.
We need to set thread as joinable by using thread attribute.

3. Passing arguments to thread in Linux

Program contain in the previous thread post tell how to pass single argument to thread handler function. 

If you want to pass two or more variable to thread handler then need to define structure globally then pass the structure variable as argument when creating thread with the help of pthread_create.

2. Thread creation in Linux

Main program implicitly create the starting thread. Other thread can be created by programmer with the help of pthread_create API.
int pthread_create(pthread_t *thread, const pthread_attr_t *attr,  
                                 void *(*start_routine) (void *), void *arg);