I propose a patch to remedy the following behaviour:

if a tool change was issued, and then an abort is issued (e.g. by raising the 
halui.abort pin), it can take up to an unnerving 5 seconds until the UI 
unfreezes while the timed loop in task/iotaskintf.cc:sendCommand() times out 
waiting for iotask to react. 

While the right things happen, this is too much of a Windows reminiscence for 
me ;-)

Please see 
http://git.mah.priv.at/gitweb/emc2-dev.git/commitdiff/e6d3ba596a1bd2490476bf47226b380028a16846

I am unsure wether this is the right way to do it, but the patch fine works for 
me - no more hangs. It is strictly limited to immediately abort an 
EMC_LOAD_TOOL command. Potentially a prepare could benefit from this as well.

I'd appreciate comments

-Michael


------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to