Talk:Windows Programming/User Mode vs Kernel Mode

windows programming/ read from monitor memory vs write into monitor memory

Context Switching on processes not on programs. State is of process, context is of process, the process is not a program. I think it is necessary to give a mean of a process here on page.

"Context Switching" should have more detail
After reading the "Context Switching" section, I was left with a couple questions: I'll research and answer them. --Snydergd (discuss • contribs) 13:58, 22 November 2013 (UTC)
 * 1) How do programs allow the operating system to run?  Do compilers automatically throw in system calls to do this?
 * 2) If the processor is in user mode running a process, how does it know the thread quantum has been exceeded, and how does it tell the kernel to run context switching?

"Context Switching" - only processes but no progams? What about a program triggering a special process?
I agree, Snydergd. So context switching cannot concern programs, only processes? Is that so, or could it be more difficult via something like API`s. Admittedly the scenario sounded vaguely familiar, although, yes, that may happen to many nitwits like me.

What about this scenario, witnessing serial errors in the Windows system event logs, with Kernel issue prominently surfacing, I had the quite possible stupid idea, to run the most deep possible scan with the Windows Memory Diagnostic Tool. Can't remember if I ever did this before. There wasn't much about these specific error ID's on the web. Nothing vaguely helpful in the linked Windows database. I simply thought that maybe Windows could help.

Incidentally this was a Windows 7 dual boot system: Windows and Macrium Reflect. ... At one point, the scan "process" seemed to almost have stalled/frozen before, I suddenly found myself in Macrium Reflect, which I had mostly ignored at that point. ...expect for allowing me to safely inspect an earlier event first and deal with it mirrored back later, or so I thought. Anyway curiously enough "the Program" Macrium offered me to mend a boot issue.

I hesitated for quite a while. But when I was about to get out of the program again, I thought, well, WHY NOT. That was the end. I don't want a new installation, I am tired of that. Too easy. ...First I would like a forensic copy to learn and understand what really happened, to the extend one still can. Steep learning curve, indeed. But also a test case. ;) LeaNder22, no idea why Wikibooks does not recognize my IP. CQ Whois easily does.

Application sees - but in Reality
to visualize matters is always quite helpful. Considered from this perspective, it shouldn't have offered me to do anything in that context? No?

Yes this would lead me to two equally possible different scenarios. Maybe there are others. LeaNder