#include <ts/ts.h>
Locks the mutex (recursively). Should only be called from a continuation handler function or a TSThread function.
TSThread