The MASM Forum Archive 2004 to 2012

General Forums => The Workshop => Topic started by: Timbo on April 20, 2007, 06:57:31 PM

Title: Threading theory - reg and stack preservation.
Post by: Timbo on April 20, 2007, 06:57:31 PM
Greetiings,

How does Windows preserve register and stack contents during a context swtich?  Or any other OS for that matter?

Thanks in advance,

Tim
Title: Re: Threading theory - reg and stack preservation.
Post by: dsouza123 on April 20, 2007, 09:37:50 PM
Google gave good results with the terms

windows context switch registers

http://www.microsoft.com/technet/archive/winntas/training/ntarchitectoview/ntarc_4.mspx

http://www.virtualdub.org/blog/pivot/entry.php?id=107


cs task switch  a result is a set of pages on 80386 multitasking from the CPU perspective

http://pdos.csail.mit.edu/6.828/2006/readings/i386/c07.htm