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

浅析Java多线程中的同步和死锁
引用本文:赵元媛.浅析Java多线程中的同步和死锁[J].价值工程,2010,29(7):139-139.
作者姓名:赵元媛
作者单位:贵州大学科技学院,贵阳,550003
摘    要:多线程在编程社会中是一个相当新的结构,非常强大,可以加大地提高程序的运行效率。Java是第一个在语言的核心中支持线程,通过多线程的并发运行提高了系统资源的利用率,改善了系统性能,但由于多线程要共享内存资源,为了避免数据资源的使用混乱,必须对线程的同步问题作出解决。本文对Java多线程中实现同步的方法和死锁产生原因及避免原则做出了简要分析。

关 键 词:多线程  Java  同步  死锁

Analyzing the Synchronization and Deadlock of Java Multithread
Zhao Yuanyuan.Analyzing the Synchronization and Deadlock of Java Multithread[J].Value Engineering,2010,29(7):139-139.
Authors:Zhao Yuanyuan
Institution:The Science and Technology College of Guizhou University/a>;Guiyang 550003/a>;China
Abstract:Multithread is a relatively new and powerful structure in programming.It can increasingly improve the program efficiency.Java is the first to support thread in the core of language.It improves the utilization of the system resource and performance through concurrency.We must resolve the synchronization of multithread in order to avoid the chaotic date because multithread needs to share memory resources.This article will analyze the method of synchronization and the cause and principle of the deadlock.
Keywords:multithread  Java  synchronization  deadlock  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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