urcu_free_ltl:
touch .input.define
- cat DEFINES > pan.ltl
cat .input.define >> pan.ltl
+ cat DEFINES >> pan.ltl
spin -f "!(`cat urcu_free.ltl | grep -v ^//`)" >> pan.ltl
# Progress checks
urcu_progress_writer_ltl:
touch .input.define
- cat DEFINES > pan.ltl
- cat .input.define >> pan.ltl
+ cat .input.define > pan.ltl
+ cat DEFINES >> pan.ltl
spin -f "!(`cat urcu_progress.ltl | grep -v ^//`)" >> pan.ltl
urcu_progress_reader: clean urcu_progress_reader_ltl \
urcu_progress_reader_ltl:
touch .input.define
- cat DEFINES > pan.ltl
- cat .input.define >> pan.ltl
+ cat .input.define > pan.ltl
+ cat DEFINES >> pan.ltl
spin -f "!(`cat urcu_progress.ltl | grep -v ^//`)" >> pan.ltl
urcu_progress_writer_error: clean urcu_progress_writer_error_ltl \
urcu_progress_writer_error_ltl:
touch .input.define
- cat .input.define >> pan.ltl
- cat DEFINES > pan.ltl
+ cat .input.define > pan.ltl
+ cat DEFINES >> pan.ltl
spin -f "!(`cat urcu_progress.ltl | grep -v ^//`)" >> pan.ltl
gcc -w ${CFLAGS} -o pan pan.c
pan.c: pan.ltl ${SPINFILE}
- cat .input.define >> .input.spin
- cat DEFINES > .input.spin
+ cat .input.define > .input.spin
+ cat DEFINES >> .input.spin
cat ${SPINFILE} >> .input.spin
rm -f .input.spin.trail
spin -a -X -N pan.ltl .input.spin
ooo_mem(i);
WRITE_CACHED_VAR(urcu_active_readers_one, tmp2);
:: else ->
- WRITE_CACHED_VAR(urcu_active_readers_one, tmp + 1);
+ WRITE_CACHED_VAR(urcu_active_readers_one,
+ tmp + 1);
fi;
ooo_mem(i);
smp_mb(i);
//smp_mc(i);
wait_for_quiescent_state(tmp, i, j);
//smp_mc(i);
- #ifndef SINGLE_FLIP
+#ifndef SINGLE_FLIP
ooo_mem(i);
tmp = READ_CACHED_VAR(urcu_gp_ctr);
ooo_mem(i);
//smp_mc(i);
ooo_mem(i);
wait_for_quiescent_state(tmp, i, j);
- #endif
+#endif
ooo_mem(i);
smp_mb(i);
ooo_mem(i);