Re: threads and latest libg++?
"Orn E. Hansen" <oe.hansen@oehansen.pp.se> writes:
> If you have to remove all the classes in c++ to get threads working,
> there isn't much sense in using c++ :-)
>
> I've had the same problem, and as far as I've been able to collect,
> g++ simply isn't, and won't be thread safe. If you wish for a thread
> safe environment, get stdc++ 2.8.0 or the 'egcs' compiler.
Thanks for the reply, and for confirming what I suspected.
For what it's worth, I downloaded and compiled egcs-1.0 this morning and it
works fine on my code. (I configured it with -enable-threads - I assume
this is necessary for it to produce thread safe code.)
Later,
Dale
--
+-------------------- finger for pgp public key ---------------------+
| Dale E. Martin | University of Cincinnati Savant Research Laboratory |
| dmartin@ececs.uc.edu | http://www.ececs.uc.edu/~dmartin |
+----------------------------------------------------------------------+
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: