高级操作系统高级操作系统 (25).pdf
《高级操作系统高级操作系统 (25).pdf》由会员分享,可在线阅读,更多相关《高级操作系统高级操作系统 (25).pdf(8页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、第 5 讲:The Interface of OS第四节:How to design a Linux kernel interfaceIntroduction.IntroductionMoral 1:diverse user usagestry to imagine the ways in which anarmy of inventive user-spaceprogrammers might(ab)use yourAPI3.5 MQ changes also broke user space in at least twoplacesIntroduced hard limit of 102
2、4 on queues_max,Fixedby commit f3713fd9cSemantics of value exported in/dev/mqueue QSIZEfield changed.IntroductionMoral 2:unit testswithout unit tests you will screw upsomeones APIRegressions happen more often than youd expectLinux 2.6.12 silently changed meaning of fcntl()F_SETOWNNo longer possible
3、to target signals at specific threadin multithreaded processInotify IN_ONESHOT flagBy design,IN_ONESHOT did not cause anIN_IGNORED event when watch is dropped afterone eventFrom 2.6.36,IN_ONESHOT does causeIN_IGNORED.IntroductionMoral 3:Specification,Andrew MortonProgramming is not just an act of te
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 高级操作系统高级操作系统 25 高级 操作系统 25
限制150内