wait until

B

Brad Smallridge

Guest
What is wrong with this? Both are variables and
row_counter gets advanced in another process.

wait until( row_counter = start_recording_row_delay );

b r a d @ a i v i s i o n . c o m
 
"Brad Smallridge" <bradsmallridge@dslextreme.com> wrote in message
news:1143sibkhhtqh60@corp.supernews.com...
What is wrong with this? Both are variables and
row_counter gets advanced in another process.

wait until( row_counter = start_recording_row_delay );

b r a d @ a i v i s i o n . c o m
If they are both variables then there is nothing to trigger the wait
statement. At least one of them must be a signal. (Variables have no
event information associated with them. The wait needs an event to
trigger its execution.)

Charles Bailey
 
Brad Smallridge wrote:

What is wrong with this? Both are variables and
row_counter gets advanced in another process.

wait until( row_counter = start_recording_row_delay );

b r a d @ a i v i s i o n . c o m


Brad,

I don't understand.
If both are variables (not global) then you cannot see them from other processes !
And if they are local to the process where the wait is located, who will update them
if the process is suspended ???
Maybe you meant that row_counter was a signal ? (then it should work)

Or maybe you've declared "variable row_counter" in both processes ? ;-)

Bert
 

Welcome to EDABoard.com

Sponsor

Back
Top