Added interrupt processing with multi threads.