OOP, oops
OOP: a key concept of object-oriented technology that connects processes with data.
Changes the state of separating data from programs in traditional data.
Packaging programs and data together is called encapsulation.
The definition
For anyone who writes the kernel code, one of the most attractive issues is how to complete the debugging. Because the kernel is a function set not related to a process, its Code cannot be easily put in the debuggerAnd cannot be tracked. This
Item 18: Making interfaces (Interface) Easy to use correctly and difficult to use incorrectly
By Scott Meyers
Translator: fatalerror99 (itepub's nirvana)
Release: http://blog.csdn.net/fatalerror99/
C ++ is drowned in interfaces (interface.
1. fault Locating (Debugging) scenarios are classified into two categories to facilitate Problem description. A) online Fault Locating (online-debugging) when a fault occurs, the operating system environment where the fault is located can still be
18th Chapter Commissioning18.1 ready to start1, in the user-level program, the bug performance is more straightforward, but not clear in the kernel.2, kernel-level development of debugging work far more difficult than user-level development.3. The
CHAPTER 18 Commissioning 18.1 ready to startWhat needs to be prepared is:-a bug-a kernel version that hides bugs-knowledge and luck about kernel codeThe point: if you want to successfully debug, it depends on whether you can make these errors
18th Chapter Commissioning20135307 together
18.1 preparing to start a bug in the 18.2 kernel
There are many bugs in the kernel, and they can be produced for countless reasons, and their appearances are changeable, from unmistakable
18th debugging one, the bug in the kernelKernel bugs may be caused by:- 错误代码- 同步时发生的错误,例如共享变量锁定不当- 错误的管理硬件- ……Symptoms of a kernel bug attack may include:- 降低所有程序的运行性能- 毁坏数据- 使得系统处于死锁状态- ……Kernel development takes into account unique issues over
The Dameon process is also called the Daemon, in general he has the following 2 characteristics :1. The life cycle is very long, once started, generally will not terminate, until the system is launched, but the Dameon process can be stopped or send
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.