On 01/-10/-28163 02:59 PM, 守株待兔 wrote:
please see my code:
import os
import threading
print threading.currentThread()
print "i am parent ",os.getpid()
ret = os.fork()
print "i am here",os.getpid()
print threading.currentThread()
if ret == 0:
print threading.currentThread()
els
On Saturday, August 13, 2011 2:09:55 AM UTC-7, 守株待兔 wrote:
> please see my code:
> import os
> import threading
> print threading.currentThread()
> print "i am parent ",os.getpid()
> ret = os.fork()
> print "i am here",os.getpid()
> print threading.currentThread()
> if ret == 0:
>
On Aug 13, 11:09 am, "守株待兔" <1248283...@qq.com> wrote:
> please see my code:
> import os
> import threading
> print threading.currentThread()
> print "i am parent ",os.getpid()
> ret = os.fork()
> print "i am here",os.getpid()
> print threading.currentThread()
> if ret == 0:
> p