Notes from the meeting

Mark Mitchell mark at codesourcery.com
Fri Jul 7 00:22:58 UTC 2000


>>>>> "Jim" == Jim Dehnert <dehnert at baalbek.engr.sgi.com> writes:

    Jim> This is all fine, except that the threads that get here after
    Jim> the first one, but before it has initialized the object, must
    Jim> wait until the initialization is complete before proceeding.
    Jim> That means that they can't return from
    Jim> __cxx_gv_set_guard_variable (&gv) until the initialization is
    Jim> done, and the initialization must be completed before setting
    Jim> the low-order byte of the guard variable.  To accomplish
    Jim> this, the first thread must have a way of signalling its
    Jim> completion, e.g.:

Good point!

--
Mark Mitchell                   mark at codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com




More information about the cxx-abi-dev mailing list