首页 | 本学科首页   官方微博 | 高级检索  
     

基于Linux多线程管理的分析与实现
引用本文:孙帅,李传玺. 基于Linux多线程管理的分析与实现[J]. 电子科技, 2017, 30(9): 27
作者姓名:孙帅  李传玺
作者单位:(航天科工深圳集团有限公司 南京分公司,江苏 南京211100)
摘    要:
出了一种有效防止线程并发混乱以及进程异常结束的软件设计方法,综合利用POSIX Threads库的系统功能,调整线程的默认配置、合理地规划线程结构,并正确回收子线程。实际测试结果表明,该线程管理策略是正确设计多线程结构的一种方法,具有较高的应用价值。

关 键 词:线程管理  线程安全  线程优先级  线程栈  

Based on Linux Multithreaded Management Analysis and Implementation
SUN Shuai,LI Chuanxi. Based on Linux Multithreaded Management Analysis and Implementation[J]. Electronic Science and Technology, 2017, 30(9): 27
Authors:SUN Shuai  LI Chuanxi
Affiliation:(Nanjing Company,Aerospace Science and Industry Group (Shenzhen) Co. LTD.,Nanjing 211100,China)
Abstract:
Presents an effective prevent thread concurrent software design method of chaos and process abnormal end, comprehensive utilization of the POSIX Threads library system function, adjust the thread of the default configuration, reasonable planning thread structure and properly recycle the child thread. The practical test results show that the thread management strategy is a kind of correct multithreaded design method, and has high application value.
Keywords:thread management  thread safety  thread priority  thread stack,
点击此处可从《电子科技》浏览原始摘要信息
点击此处可从《电子科技》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号