I would like to know if protocol clauses for Stream Device protocols are atomic. For example, if one thread is processing clause
# /// Read the input curve number
getINCRV {
out "INCRV? \$1";
in "%d"
}
and another thread is simultaneously processing (in the same IOC) clause
getInputCurveNumber {
out "INCRV? \$2";
in "%(\$1)d";
}
can these collide and interfere with each other? Or is there a blocking mechanism to help ensure that the ‘in’ of one clause is really the response to the preceding ‘out’ of the same clause?
Thank you,
--Ray