sizeof() segfault and mutex initialization?
Phil Edwards
phil@jaj.com
Fri Feb 21 20:27:00 GMT 2003
On Thu, Feb 20, 2003 at 11:07:18PM +0100, Stefan Olsson wrote:
> Phil Edwards wrote:
>
> >>Is it possible/ok to call __gthread_objc_mutex_allocate?
> >
> >No/no. They aren't available to C++. But we can define one ourselves,
> >or maybe (doubtful) add one to the gthr-*.h files.
> >
> I have lots to learn about the inner workings of libstdc++ and it might
> be a dumb question but what would the downside of adding this function be?
Just more stuff to maintain.
I could have sworn we had this already in bits/stl_threads.h, but I haven't
looked lately.
--
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace. We seek
not your counsel, nor your arms. Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen. - Samuel Adams
More information about the Libstdc++
mailing list