# Report the size of the sharedobj for each mutex type.
# This comprises the mutex and one int of data.

for method in NO_LOCKING SPINLOCK YIELD FUTEX PTHREADS
do
  echo -n "${method}: "
  g++ "-DUSE_${method}" -O3 -W -Wall -o datasize datasize.cc
  ./datasize
done
