app multi thread mode