ost_ThreadLock(3) on Linux
The text a7d10e2c9fed, as Debian 10 (Buster) shipped it.
The ThreadLock class impliments a thread rwlock for optimal reader performance on systems which have rwlock support, and reverts to a simple mutex for those that do not.