def every(a):

    while(1):

        print("22")


th2=threading.Thread(target=every,args=(a))


타겟에 함수명만 적고 인자는 args=(a) 처럼 넘기는거 아님?