Re: Named pipes in threads

2004-12-12 Thread Philippe C. Martin
>>What are you trying to do?  Perhaps if you backed up and described >>the "what" we could make better recommendations about the "ho Just trying to have a GUI thread (tkinter) talk back and forth with a debugger derived object threaded (bdb). No I have not tried yet as sometimes things seem to

Re: Named pipes in threads

2004-12-12 Thread Philippe C. Martin
>>Replace the sockets with a queue of strings. >>http://docs.python.org/lib/module-Queue.html >>Write your Send and Recv functions in terms of Queue.get() and Queue.put(); And those entry points seem to reentrant too !!! Thanks a lot, you made my day (I say that a lot on this mailing lis

Re: Named pipes in threads

2004-12-12 Thread Michael Fuhr
"Philippe C. Martin" <[EMAIL PROTECTED]> writes: > I currently have a "working" script that uses sockets to handle threads > communications - the problem is that it gives me obvious problems in handling > free ports (launching the script more than once ). Who is communicating with whom? Th

Re: Named pipes in threads

2004-12-12 Thread Jive
"Philippe C. Martin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > HI, > > I currently have a "working" script that uses sockets to handle threads > communications - the problem is that it gives me obvious problems in handling > free ports (launching the script more than once )