Jump to content

Program execution


TJF1960

Recommended Posts

It does not execute Program 1 to completion before executing Program 2 if that answers the question.

 

Multiple Programs are logically executing at the same time although not physically simultaneously. The processor can execute only one physical instruction at a time.

Link to comment

So it sounds like if I have 2 programs both of which are doing math functions and are sharing 1 integer variable as a place holder the data may get corrupt if they both run at the same time, esp. if one starts before the other but the other finishes first. So I will need a placeholder for each program.

 

Thanks Lee,

Tim

Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...