Single-function module for multi-threading.