recordlocktest.c