[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: [LI] Threads



Yup.. that was exactly the reason I was asking for some info on pthreads.
However, the problem remains. Pthreads is not 100 % portable on all POSIX
compliant systems.. there are POSIX compliant threading libraries but not
100% source code compliance can be achieved.

Another interesting case is WIN NT.. it supports threads AND is POSIX
compliant but does not support the POSIX 1003.c thread standard!!


Thanks anyway ..
Regards
Shourya



aBhyrava Prasad wrote:

> Shourya Sarcar wrote:
> >
> > For all those who use pthreads instead of clone,
> > does gcc compilation for pthread need and extra library ??
>
> You should never be using clone directly in a
> user program. That was never the intent. See the man page.
> Use posix or other threading library.
>
> - B. Prasad
> --------------------------------------------------------------------
> The Linux India Mailing List Archives are now available.  Please search
> the archive at http://lists.linux-india.org/ before posting your question
> to avoid repetition and save bandwidth.

--
_______________________________________________________________
Shourya Sarcar
Student
Department of Computer Science and Engineering
Jadavpur University
Calcutta, India 700 032

Email   : sarcar@xxxxxxxx
Tel     : 91-033-471 0477
Address : 364/3 Netaji Subhas Chandra Bose Road
          Calcutta , India 700 047
_______________________________________________________________





--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.