• Tim Janik's avatar
    turned all modifications to the first 32 integer bits in a closure into · 834ddd19
    Tim Janik authored
    Mon Aug  1 23:00:42 2005  Tim Janik  <timj@imendio.com>
    
            * gclosure.c: turned all modifications to the first 32 integer bits in a
            closure into atomic accesses. wrapped write accesses into special macros
            to keep the atomic modification logic in a single place. comment cleanups.
    
            * gclosure.h: made all atomicly accessed closure fields volatile.
    
            * gobject.h: made ref_count field volatile.
    834ddd19
gobject.h 11.3 KB