#5 Thread-safe Expect

Robert Joy

I would like to see changes made to Expectto make it thread safe. I have several iTcl applications where I want to add threading to allow concurrent interaction with many of our products. Unfortunately, I was unable to do this in a nice OO way due to the fact that Expect is currently thread unsafe, at least it is on Windows. I'm not sure of it's state on other OSs but all my apps are being used by folks that have Windows boxes so I would like this. At this point I am going to spawn several processes and use comm to "simulate" the desired behavior but this means the user will see a ton of new processes being spawned for a single applicaiton and this is not a very friendly approach. If you can make the needed changes it would be much appreciated! :) Thanks!


Log in to post a comment.