#ident "Copyright (c) 2007-2012 Tokutek Inc. All rights reserved."
#ident "The technology is licensed by the Massachusetts Institute of Technology, Rutgers State University of New Jersey, and the Research Foundation of State University of New York at Stony Brook under United States of America Serial No. 11/760379 and to the patents and/or patent applications resulting from it."
*// Tell helgrind that we unlocked it so that the next call doesn't get a "destroyed a locked mutex" error.
*// Tell helgrind that we destroyed the mutex.
*VALGRIND_HG_MUTEX_UNLOCK_PRE(&locka);
*VALGRIND_HG_MUTEX_DESTROY_PRE(&locka);
*
*// And recreate it. It would be better to simply be able to say that the order on these two can now be reversed, because this code forgets all the ordering information for this mutex.
*// Then tell helgrind that we have locked it again.