The pthread_mutex_timedlock() function is not supported on a number of architectures and is not actually used by the library or compiler, but prevents C++ compilation on systems that do not support it when threads are enabled.