Hi,
does the LOCK instruction has any meaning in a single-processor system ? Or is only used in SMP-systems ?
What happens if a taskswitch occurs right after a LOCK instruction ?
Thnx,
Jeroen
LOCK instruction (x86 assembly)
Re:LOCK instruction (x86 assembly)
It's not necessary on a single-processor system.sith wrote:does the LOCK instruction has any meaning in a single-processor system ? Or is only used in SMP-systems ?
Nothing unusual... why? LOCK is an instruction prefix, not an instruction in its own right, so it won't get separated from the instruction itself.What happens if a taskswitch occurs right after a LOCK instruction ?