add thread process to libmms