multi process or multi thread