解决办法:
   1、在Class里声明Thread,然后在Function里引用
   2、用Arraylist存储Thread,然后在Function引用
   3、用Hasttable存储Thread,然后在Function里引用