sizeof() segfault and mutex initialization?

Benjamin Kosnik bkoz@redhat.com
Sat Feb 22 00:30:00 GMT 2003


>I have little comment to add re 1).  After gthr.h is included,
>__gthread_mutex_t must be a complete type.  If you find a situation
>where this is not true, then we have a bug to fix in a concrete
>implementation of the abstraction layer.

I don't think this was the issue. I was just throwing ideas out, because
I had no idea what was up. Once Stefan coughed up a testcase, it became
much clearer what the issue was.

-benjamin



More information about the Libstdc++ mailing list