> > > Thanks Mark, > > Yes, it fails to compile and #include "pthread.h" is > included; > pthread_t tid; //fails to compile > > Try posting the complete program together with the compiler output. Mark