Exemplo n.º 1
0
 def run(self):
     while not calling(self.f, self.sha):
         time.sleep(5)
Exemplo n.º 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()
Exemplo n.º 3
0
 def run(self):
     while not calling(self.f, self.sha):
         time.sleep(5)
Exemplo n.º 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()
Exemplo n.º 5
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()