1.1 --- a/test/testatomic.c Mon Jan 17 14:08:00 2011 -0800
1.2 +++ b/test/testatomic.c Tue Jan 18 10:57:28 2011 -0800
1.3 @@ -68,9 +68,13 @@
1.4 printf("AtomicCAS() tfret=%s val=%d\n", tf(tfret), SDL_AtomicGet(&v));
1.5 }
1.6
1.7 -/* Atomic operation test, adapted from code by Michael Davidsaver at:
1.8 - http://bazaar.launchpad.net/~mdavidsaver/epics-base/atomic/revision/12105#src/libCom/test/epicsAtomicTest.c
1.9 -*/
1.10 +/**************************************************************************/
1.11 +/* Atomic operation test
1.12 + * Adapted with permission from code by Michael Davidsaver at:
1.13 + * http://bazaar.launchpad.net/~mdavidsaver/epics-base/atomic/revision/12105#src/libCom/test/epicsAtomicTest.c
1.14 + * Original copyright 2010 Brookhaven Science Associates as operator of Brookhaven National Lab
1.15 + * http://www.aps.anl.gov/epics/license/open.php
1.16 + */
1.17
1.18 /* Tests semantics of atomic operations. Also a stress test
1.19 * to see if they are really atomic.
1.20 @@ -224,6 +228,9 @@
1.21 SDL_assert(bad!=Expect);
1.22 }
1.23
1.24 +/* End atomic operation test */
1.25 +/**************************************************************************/
1.26 +
1.27 int
1.28 main(int argc, char *argv[])
1.29 {