test/format was written to use POSIX pthreads locking; now that we support test programs using WiredTiger internal code, we should convert test/format to use the (faster, more thread-friendly) WiredTiger mutexes.
Ideally, format would randomly choose what set of thread primitives to use.