add multi-threads demo