[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: [LI] pthreads and message queues.
check whether you are compiled with a -D_REENTRANT option. this is very
much important when writing threaded code on linux
On Tue, 5 Oct 1999, Sitaram Shastri wrote:
> hello all,
>
> i'm trying to use multithreading and message queues in the same app.
> i've kept them in separate files.i compile them using gcc -c and link them
> using gcc -lpthread.both are successful,but when i run the executable,it
> exits with a core dump.
> are they incompatible?if not what am i doing wrong?
> i have rh6 from chip cd.
> glibc 2.1.1-6
> libc 5.3.12-31
>
> please help!!!
>
> thanx,
> sitaram shastri.
> --------------------------------------------------------------------
> 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.
>
--------------------------------------------------------------------
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.