Implementation of an order processor with multi-threading