The standard C/XL library is not completely thread-safe on the HP e3000.
Hewlett-Packard has provided a set of wrapper functions to intercept calls to
the C library and make them thread-safe. The threads library takes care of this
intercept library implementation.