Augments the threading library.