update
This commit is contained in:
@@ -21,7 +21,9 @@ from multiprocessing import Queue, Process
|
||||
import queue
|
||||
from decimal import Decimal, getcontext
|
||||
|
||||
DELAY1 = 80
|
||||
import time
|
||||
|
||||
DELAY1 = 20
|
||||
DELAY2 = 20
|
||||
|
||||
class Example(Frame):
|
||||
@@ -116,7 +118,8 @@ class Example(Frame):
|
||||
print (self.p1.is_alive())
|
||||
|
||||
queue.put(pi)
|
||||
print("end")
|
||||
print("end")
|
||||
time.sleep(1)
|
||||
|
||||
|
||||
def main():
|
||||
|
||||
Reference in New Issue
Block a user