您的位置:首页 > 其它

关于段错误的看法。。。

2013-05-30 16:17 295 查看
Another important difference between kernel programming and application programming

is in how each environment handles faults: whereas a segmentation fault

is harmless during application development and a debugger can always be used to

trace the error to the problem in the source code, a kernel fault kills the current process

at least, if not the whole system. We see how to trace kernel errors in Chapter 4.

翻译是:

另外一个区别是,段错误在应用程序中往往是无害的,使用调试器就很容易就能跟踪到源代码的错误,但是内核错误至少是杀掉当前进程,或者是整个系统。

。。。。

看来我们这些做应用程序的还是幸福的。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: