From d1d126acf453608fd797ceaec73d73fa25517166 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Wed, 31 Aug 2011 17:31:27 -0700 Subject: [PATCH] Make "benchmark" build "benchmarks", add bug note. --- Makefile | 2 +- upb/atomic.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c94728bc18..99563b8207 100644 --- a/Makefile +++ b/Makefile @@ -283,7 +283,7 @@ BENCHMARKS=$(UPB_BENCHMARKS) \ upb_benchmarks: $(UPB_BENCHMARKS) benchmarks: $(BENCHMARKS) -benchmark: +benchmark: $(BENCHMARKS) @rm -f benchmarks/results @rm -rf benchmarks/*.dSYM @for test in benchmarks/b.* ; do ./$$test ; done diff --git a/upb/atomic.h b/upb/atomic.h index d2b2bd2287..87a0141e54 100644 --- a/upb/atomic.h +++ b/upb/atomic.h @@ -14,6 +14,9 @@ * * - a reader/writer lock (wrappers around platform-provided mutexes). * - an atomic refcount. + * + * TODO: This needs some revisiting/refinement, see: + * http://code.google.com/p/upb/issues/detail?id=8 */ #ifndef UPB_ATOMIC_H_