beast r4259 - trunk/birnet



Author: timj
Date: 2007-01-29 23:55:19 +0000 (Mon, 29 Jan 2007)
New Revision: 4259
ViewCVS link: http://svn.gnome.org/viewcvs/beast?rev=4259&view=rev

Modified:
   trunk/birnet/ChangeLog
   trunk/birnet/Makefile.am
   trunk/birnet/birnetcdefs.h
   trunk/birnet/birnetthread.hh
   trunk/birnet/birnetthreadimpl.cc
   trunk/birnet/configure.inc
Log:
Mon Jan 29 22:46:40 2007 Tim Janik <timj gtk org>

        * birnet/birnetthread.hh: made read_barrier() and write_barrier() a NOP
        on systems that don't need barriers. provided full_barrier().

        * birnetthread.cc: fixed a bad bug in atomic_int_set() and
        atomic_pointer_set() which caused atomic values to temporarily be 0.

        * birnet/birnetcdefs.h: provide memory barrier implementations based on atomic ops.

        * birnet/Makefile.am: define BIRNET_MEMORY_BARRIER_NEEDED in birnetconfig.h.

        * configure.inc: provide BIRNET_MEMORY_BARRIER_NEEDED=[01] based on
        glib's G_ATOMIC_OP_MEMORY_BARRIER_NEEDED.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]