[415] in Pthreads mailing list archive

home help back first fref pref prev next nref lref last post

C++ exception handling and pthreads

daemon@ATHENA.MIT.EDU (erwin@htsa.hva.nl)
Sun Sep 22 14:19:26 1996

From: erwin@htsa.hva.nl
To: pthreads@MIT.EDU
Date: Sun, 22 Sep 1996 20:01:15 METDST

Hi there,

I tried to write a program in C++ useing pthreads, which works fine.
But now i was trying to use throw,try, and catch in my C++ program
and now it became a random error generator. I removed all the throw,
try stuff but still compiled with g++ -fhandle-exceptions (g++ 2.7.2)
and that causes the program to die with a segmentation fault also.
Now my question is , is it posible to use C++ exception handling
with pthreads in the first place ? Sugestions are welcome,
i am not on this mailing list so please send comments to
erwin@htsa.hva.nl

thanx,
Erwin 





home help back first fref pref prev next nref lref last post