Thanks for your reply.
But, I have one confusion.
The pthread library (provided by glibc-devel) which I use on my linux machine is a pthread or linux thread?
i.e. if linux threads are nothing but pthreads itself?
or linux threads is different implementation than pthreads?
I have this confusion because, I think thread libraries on solaris/other operating systems have the library function names starting with thr_*() or something like that. So, I thought linux threads would also have names starting with lthread_*() just like pthread_*() for POSIX threads. Hence my impression is, linux threads is a different library than pthread but could not get any document clearly specifying this. Some documents specify that linux threads is an implementation of posix threads.
So, is POSIX threads is just a standard and linux threads is built(with few exceptions) as per this standard?