This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Multiple inheritance and thread safety


"Paul J. Lucas" wrote:
> 
>         Hi -
> 
>         I was wondering if there is any know issue with doing multiple
>         inheritance with virtual base classes and thread safety.
>         Specifically, I was wondering if the thunk code generated is
>         known to be thread-safe.
Why is there an issue? The thunk code copies some stack parameters,
which
will be pointers or Pod struct. The vtables are read-only and are only
altered in ctors/dtors which must be single threaded anyway.


nathan
-- 
Dr Nathan Sidwell :: Computer Science Department :: Bristol University
           The voices in my head told me to say this
nathan@acm.org  http://www.cs.bris.ac.uk/~nathan/  nathan@cs.bris.ac.uk


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]