def METHOD_NAME(class_inst):
    global module_init
    global module_sema
    module_sema.acquire()
    if module_init != 1:
        try:
            # Put your single instance Init Code Here
            class_inst._setupQOSTestFiles()
        except:
            pass
        module_init = 1
    module_sema.release()