看了《windows核心编程》第五版的前九章,(这是第一遍,挺迷糊的)
1、听高手们说,大部分情况都是创建线程,很少用到创建进程。所以第四章可能没啥用了吧?
2、第八章和第九章都在讲线程同步,为什么有这么多种方法。 数一数,差不多有十种方法了。在什么情况下选择哪种方法?
3、用户模式和内核模式有啥区别? 什么是用户模式、内核模式?
4、我在《MFC windows程序设计》里还看到了“临界区”,为什么《windows核心编程》没提到?
1、听高手们说,大部分情况都是创建线程,很少用到创建进程。所以第四章可能没啥用了吧?
2、第八章和第九章都在讲线程同步,为什么有这么多种方法。 数一数,差不多有十种方法了。在什么情况下选择哪种方法?
3、用户模式和内核模式有啥区别? 什么是用户模式、内核模式?
4、我在《MFC windows程序设计》里还看到了“临界区”,为什么《windows核心编程》没提到?
事件(CEvent)
互斥量(CMutex)
信号量(CSemaphore)
For Windows and Windows NT/Windows 2000, the nonprivileged processor mode in which application code executes, including protected subsystem code in Windows NT/Windows 2000. kernel mode
The processor mode that allows full, unprotected access to the system. A driver or thread running in kernel mode has access to system memory and hardware.