here's a first cut for 'queued MDI' which actually has a queue and doesnt only 
work by accident:

http://git.mah.priv.at/gitweb/emc2-dev.git/shortlog/refs/heads/queued-mdi

The basic idea is:
- a queue in task to serialize MDI commands
- feed interp on pertinent state change
- mirror the MDI input queue length in emcstat.task.queuedMDIcommands

To use the MDI queueing feature, the UI needs to test whether 
- interp_state == INTERP_IDLE which implies there's no command executing or 
queued, OR
- emcstatus->task.queuedMDIcommands < queuelimit

The Axis UI seems to work ok for me.

The queuelimit is configurable by [TASK]MDI_QUEUED_COMMANDS and defaults to 10.

I'd be grateful for feedback on the Axis handling, I am somewhat lost in the 
maze of state propagation from NML via Python into Tcl (!§!!§%/!).

- Michael


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to