Does MWorks pause for implicit display updates?

I know that MWorks will pause for explicit update_stimulus_display actions. Is this the case for implicit updates for as well?

I’m trying to decide whether it is safe to use a regular timer (“wait” action) within a state to time a digital output. It would be bad if the wait ended during a display update pause.

I know that MWorks will pause for explicit update_stimulus_display actions. Is this the case for implicit updates for as well?

No. Display updates are handled on their own thread, which runs in parallel with (and independent of) the main experiment execution thread. By design, explicit updates (initiated via update_stimulus_display) pause the main experiment thread until the display update thread has submitted all the relevant drawing commands to the graphics hardware (more precisely, until the equivalent of glFlush has completed). However, there’s no such pause associated with implicit updates (e.g. those initiated by dynamic stimuli), because they are initiated and executed entirely on the display update thread.

Chris