Re: Problems with sockets and threads

2013-04-11 Thread Dexter Deejay
Thanks! :D -- http://mail.python.org/mailman/listinfo/python-list

Re: Problems with sockets and threads

2013-04-11 Thread Peter Otten
Dexter Deejay wrote: > When i try to run this code and to connect to server (server is written in > java that part of code is ok) everything stalls. Thread that i created > here occupies processor all the time and GUI freezes. It's supposed to be > waiting for message from server. (asynchronous on

Re: Problems with sockets and threads

2013-04-11 Thread Dexter Deejay
FOUND ERROR! :D In creatin method of thread i wrote treadFunc() and should have said threadFunc (as pointer). Now i have problem with Text component. How to append string at end of it? -- http://mail.python.org/mailman/listinfo/python-list

Re: Problems with sockets and threads

2013-04-11 Thread Dexter Deejay
Thanks for help. Do you have any reference to direct me for that subprocess creation? -- http://mail.python.org/mailman/listinfo/python-list

Re: Problems with sockets and threads

2013-04-11 Thread Dexter Deejay
Thanks for help. Do you have any reference to pint me out for that subprocess creation? -- http://mail.python.org/mailman/listinfo/python-list

Re: Problems with sockets and threads

2013-04-11 Thread Wayne Werner
On Thu, 11 Apr 2013, Dexter Deejay wrote: Yeah, that seems to be problem. Waiting for message is in theory infinite. But why doesn't this separate thread leave processor while it is sleeping? As far as I've been able to tell? Magic ;) But I haven't really dug into it. If you're really doing

Re: Problems with sockets and threads

2013-04-11 Thread Dexter Deejay
Yeah, that seems to be problem. Waiting for message is in theory infinite. But why doesn't this separate thread leave processor while it is sleeping? -- http://mail.python.org/mailman/listinfo/python-list

Re: Problems with sockets and threads

2013-04-11 Thread Wayne Werner
On Thu, 11 Apr 2013, Dexter Deejay wrote: When i try to run this code and to connect to server (server is written in java that part of code is ok) everything stalls. Thread that i created here occupies processor all the time and GUI freezes. It's supposed to be waiting for message from server

Problems with sockets and threads

2013-04-11 Thread Dexter Deejay
When i try to run this code and to connect to server (server is written in java that part of code is ok) everything stalls. Thread that i created here occupies processor all the time and GUI freezes. It's supposed to be waiting for message from server. (asynchronous one) Is there something that