turned all modifications to the first 32 integer bits in a closure into
authorTim Janik <timj@imendio.com>
Mon, 1 Aug 2005 21:17:50 +0000 (21:17 +0000)
committerTim Janik <timj@src.gnome.org>
Mon, 1 Aug 2005 21:17:50 +0000 (21:17 +0000)
commit834ddd1920e89af4958951b2418c014870305f19
tree7e71a7e45b2c5061a9fd0d5d8421cdfdb048b305
parent7787e71d8b5ebc413790a87148a649050f096096
turned all modifications to the first 32 integer bits in a closure into

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.
gobject/ChangeLog
gobject/gclosure.c
gobject/gclosure.h
gobject/gobject.c
gobject/gobject.h