Startup
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import time
|
||||
print ("ENTER")
|
||||
|
||||
def foo(name):
|
||||
time.sleep(5.0)
|
||||
@@ -9,8 +8,7 @@ def foo(name):
|
||||
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
if __name__ == '__main__':
|
||||
p = ctx.Process(target=foo, args=('bob',))
|
||||
p = mp_fork.Process(target=f, args=('bob',))
|
||||
#p = mp_spawn.Process(target=f, args=('bob',))
|
||||
|
||||
Reference in New Issue
Block a user