存档
-
自旋锁的机制与使用方法记录
关于Spinlock、Mutex、Semaphore的区别
Windows下Spinlock的使用介绍
Linux下Spinlock的讨论自旋锁(Spinlock)是系统内核中的一个概念,在大多数操作系统内核中都有实现和应用,作用和其它内核对象,例如:信号量(Semaphore)、互斥量(Mutex)有所联系,似乎都是解决任务同步和互斥问题的,但具体细节又有很大区别。我从网上查了下资料,再加上以前做Windows驱动开发时的经验,对自旋锁的原理和应用做一下记录。
2008年7月12日 | 归档于 系统内部 -
一个多道系统计算题
题出自William Stallings的"Operating Systems - Internals and Design Principles 3rd Edition"(《操作系统——内核与设计原理》)书中习题2.1,如下:
2008年4月15日 | 归档于 系统内部 -
Windows 2003 IFS DDK中的"kernel mode"名词解释
摘:Windows 2003 IFS DDK Documentation
kernel mode
Kernel-mode code has permission to access any part of the system, and is not restricted like user-mode code. It can gain access to any part of any other process running in either user mode or kernel mode.
Performance-sensitive operating system components run in kernel mode. In this way they can interact [...]2007年10月12日 | 归档于 Windows 系统内部