what happens if a context switch happens while the cpu is executing instruction X

will instruction x be restarted?

What do you think?

Or ask yourself the question, if the answer were "No", what sort of chaos would result?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.