Named pipes in threads
someone at microsoft.com
Sun Dec 12 18:34:45 CET 2004
"Philippe C. Martin" <philippecmartin at sbcglobal.net> wrote in message
news:mailman.7551.1102870873.5135.python-list at python.org...
> I currently have a "working" script that uses sockets to handle threads
> communications - the problem is that it gives me obvious problems in
> free ports (launching the script more than once ....).
> Is thread named pipes communication allowed ?
Replace the sockets with a queue of strings.
Write your Send and Recv functions in terms of Queue.get() and Queue.put();
More information about the Python-list