On Jun 21, 11:34 pm, Terry Reedy <[EMAIL PROTECTED]> wrote:
> joamag wrote:
> > Is there any possible way to unblock the sys.stdin.readline() call
> > from a different thread.
>
> If you want the thread to do something 'else' when no input is
> available, would this work? Put readline in a thread
joamag wrote:
Is there any possible way to unblock the sys.stdin.readline() call
from a different thread.
If you want the thread to do something 'else' when no input is
available, would this work? Put readline in a thread that puts lines in
a q=queue.Quese(). Then
try:
l=q.ge_nowait
On Sat, 21 Jun 2008 12:35:02 -0700 (PDT), joamag <[EMAIL PROTECTED]> wrote:
On Jun 21, 4:46 pm, Cédric Lucantis <[EMAIL PROTECTED]> wrote:
Le Saturday 21 June 2008 15:26:53 joamag, vous avez écrit :
> HI,
> Is there any possible way to unblock the sys.stdin.readline() call
> from a different t
On Jun 21, 4:46 pm, Cédric Lucantis <[EMAIL PROTECTED]> wrote:
> Le Saturday 21 June 2008 15:26:53 joamag, vous avez écrit :
>
> > HI,
>
> > Is there any possible way to unblock the sys.stdin.readline() call
> > from a different thread.
> > Something like sys.stdin.write() but that would actually w
Le Saturday 21 June 2008 15:26:53 joamag, vous avez écrit :
> HI,
>
> Is there any possible way to unblock the sys.stdin.readline() call
> from a different thread.
> Something like sys.stdin.write() but that would actually work ...
> something to put characters in the stdin...
>
Do you mean settin
HI,
Is there any possible way to unblock the sys.stdin.readline() call
from a different thread.
Something like sys.stdin.write() but that would actually work ...
something to put characters in the stdin...
Thanks in advance,
João
--
http://mail.python.org/mailman/listinfo/python-list