thread execution order

G. S. Hayes sjdevnull at yahoo.com
Thu Sep 30 15:22:52 EDT 2004


"Axel Mittendorf" <newsreply at transfertech.de> wrote in message news:<cjh4nb$opt$05$1 at news.t-online.com>...
> "Rembrandt Q Einstein" wrote:
> > I wouldn't do this with threads.  I'd use select() or similar to see if
> > the pipe is writable and if it isn't, buffer internally.
> I thought about something like this too, but since I'm not allowed to
> use some kinda timer to write out the pending data I can't it that way.
> Therefor I wondered to use threads.

You shouldn't need a timer to do it with select().  That's how I'd do it too.



More information about the Python-list mailing list