__author__ = 'weibaohui'
# coding: utf-8
from threading import Thread


def asyncfun(f):
    def wrapper(*args, **kwargs):
        thr = Thread(target=f, args=args, kwargs=kwargs)
        thr.start()

    return wrapper