On May 19, 8:16 pm, "Gabriel Genellina" <[EMAIL PROTECTED]>
wrote:
> En Mon, 19 May 2008 20:07:06 -0300, Paul Rubin
> <"http://phr.cx"@NOSPAM.invalid> escribió:
>
> > blaine <[EMAIL PROTECTED]> writes:
> >> How is it that you recommend killing a pure python thread?
>
> Make the thread cooperate. It should periodically check some variable or
> condition, and cleanly exit when requested.
>
> >> And also,
> >> when i use the 'threading' module am I creating a process, or a (gasp)
> >> thread?
>
> > A thread.
>
> >> (Is this an obvious question - and if so, how does one create
> >> a 'process'?)
>
> > os.fork()
>
> A more portable answer: using the subprocess module.
>
> --
> Gabriel Genellina

Thanks for the info.  The problem that I'm having is that I get a
thread stuck blocking - waiting for a return from a FIFO (made with
os.mkfifo()).

Blaine
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to