示例#1
0
 def run(self):
     while not calling(self.f, self.sha):
         time.sleep(5)
示例#2
0
def run_thread(threadname, f, sha):
    while not calling(f,sha):
        time.sleep(5)
    file = open(LOG_PATH + sha + '/fin.log', "wr+")
    file.close()
    thread.interrupt_main()
示例#3
0
文件: front.py 项目: wajika/H2Sandbox
 def run(self):
     while not calling(self.f, self.sha):
         time.sleep(5)
示例#4
0
def run_thread(threadname, f, sha):
    while not calling(f,sha):
        time.sleep(5)
    file = open("/home/zozanh/env/djcode/thesis/static/data/" + sha + '/fin.log', "wr+")
    file.close()
    thread.interrupt_main()
示例#5
0
文件: front.py 项目: wajika/H2Sandbox
def run_thread(threadname, f, sha):
    while not calling(f, sha):
        time.sleep(5)
    file = open(LOG_PATH + sha + '/fin.log', "wr+")
    file.close()
    thread.interrupt_main()