[email]sam_pal@hotmail.com[/email] (sam pal) writes:
> What is wrong in this program? thr_create return -1. This Sun 0s.
> Thanks Sam
How did you link your program? Man page for that function says

If the application is not linked with the threads library, -1 is
returned.


HTH, Dragan

--
Dragan Cvetkovic,

To be or not to be is true. G. Boole No it isn't. L. E. J. Brouwer