基于多平台的通用线程库设计毕业设计精选.doc

基于多平台的通用线程库设计毕业设计精选.doc

  1. 1、本文档共28页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
基于多平台的通用线程库设计毕业设计精选

摘要 跨平台是软件开发中一个重要的概念,即不依赖于操作系统,也不信赖硬件环境。一个操作系统下开发的应用,放到另一个操作系统下依然可以运行。相对而言如果某种计算机语言不用修改代码即可做到高度跨平台,那么此语言就越抽象,硬件控制力就越低,只适合开发高度抽象的模型系统。 文中提到的当下比较流行的开源库如Boost,Qt, ZThreads,Ptypes,这些开发库各有各的侧重点,在性能和框架设计上各有不同,本文会依次简要分析这些开发库的设计原则,概括总结跨平台有两种实现方式,利用分支技术,或者利用动态平台识别,例如Java是一种提供运行环境的跨平台解决方案,而C只是一种标准且严格的跨平台语言,本文就是主要探讨C的跨平台库实现。 本文会简要分析几种跨平台的技术实现和区别,并通过对实现方法的总结,而借用一种叫做核心和路由的技术来实现跨平台库的构架,并给出相应实现,最后配上相应的演示功能程序。 关键词:跨平台、开源库、Boost、线程库 Abstract Cross-platform software development is an important concept, that is not dependent on the operating system, do not trust the hardware environment. An operating system developed under the application can still run into another operating system. In contrast If a computer language without modifying the code to achieve a high degree of cross-platform, then the more abstract language, lower hardware control, only suitable for the development of highly abstract model system. Current popular open source libraries such as Boost, of Qt, ZThreads, Ptypes, each of these development libraries each focus on performance and frame design different, this article will be followed by a brief analysis of the design principles of these development libraries, text summary cross-platform implemented in two ways, a branch of technology, or the use of a dynamic platform to identify, for example, Java is a cross-platform operating environment solutions, and C is a standard and rigorous cross-platform language, this paper focuses on C cross-platform library. This article is a brief analysis of several cross-platform technology and distinction, and summary of the implementation, and to borrow a technique called core and routing technology to achieve cross-platform library architecture, and gives the corresponding implementation, and finally coupled with the corresponding demo program. Key words: cross-platform, open source library, Boost thread library 目录 摘要 1 Abstract 2 第一章 引言 4 1.1研究背景 4 1.2主要研究内容 5 1.3论文结构 5 第2章 跨平台软件开发环境 6 2.1 跨平台开发的历史 6 2.2 预处理器使用 6 2.2.1 例子 1: Boost

文档评论(0)

feixiang2017 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档