我最近对“例外处理”和“网络框架”进行了一些阅读,这似乎在我开始的时候使我更加感到困惑。
在《刑法》中,《刑法》第4条第1款改为:
Also, the .NET Framework exception-handling mechanism is built using the Structured Exception Handling (SEH) mechanism offered by Microsoft Windows. SEH has been discussed in many resources, including my own book, Windows via C/C++, 5th ed. (Microsoft Press, 2007), which contains three chapters devoted to SEH.
现在,正是我开始混淆的地方。 如果“网络框架”是利用“SEH”建立起来的,但这一框架仅用于无操作的例外情况,或用于处理所有例外情形。 NET 如果是这样的话,该中心在什么地方适合、正在从SEH那里获得询问,还是自行行事,并且使用,如果和当unhandled例Occurs?。
第二次 从Kerrnal模式向用户模式转变的情况如何合适? 我知道在什么时候形成了它(从中途经C#)
Thread environment block (TEB) The TEB is a block of memory allocated and initialized in user mode (address space that application code can quickly access). The TEB consumes 1 page of memory (4 KB on x86 and x64 CPUs, 8 KB on an IA64 CPU). The TEB contains the head of the thread’s exception-handling chain. Each try block that the thread enters inserts a node in the head of this chain; the node is removed from the chain when the thread exists in the try block. In addition, the TEB contains the thread’s thread-local storage data as well as some data structures for use by Graphics Device Interface (GDI) and OpenGL graphics.
AS, and theuser Mode Stack and The Kernel tempack. 但是,为什么在任何时刻都需要改变环境,因为它们需要一切才能处理?