• vasil's avatar
    branches/zip: · 21051b21
    vasil authored
    Back-merge c5880 and c5881 from branches/embedded-1.0:
    
      ------------------------------------------------------------------------
      r5880 | vasil | 2009-09-12 17:28:44 +0300 (Sat, 12 Sep 2009) | 18 lines
      Changed paths:
         M /branches/embedded-1.0/configure.in
         M /branches/embedded-1.0/include/os0sync.h
         M /branches/embedded-1.0/srv/srv0start.c
      
      branches/embedded-1.0:
      
      Clean up and simplify the code that surrounds the atomic ops:
      
      * Simplify the code that prints what atomics are used:
      Instead of repeating the same conditions on which each atomics are used
      use just one printf that prints a variable defined by the code which
      chooses what atomics to use.
      
      * In os0sync.h pick up each atomic variant only if it has been selected
      by autoconf (based on IB_ATOMIC_MODE_* macros). Define the startup message
      to be printed.
      
      * In configure.in: check what user has chosen and if he has chosen
      something that is not available, emit an error. If nothing has been chosen
      explicitly by the user, auto select an option according to the described
      logic in configure.in.
      
      ------------------------------------------------------------------------
      r5881 | vasil | 2009-09-12 20:08:27 +0300 (Sat, 12 Sep 2009) | 4 lines
      Changed paths:
         M /branches/embedded-1.0/configure.in
      
      branches/embedded-1.0:
      
      Fix syntax error in test program.
      
      ------------------------------------------------------------------------
    21051b21
os0sync.h 14.9 KB