The discussion about Java multithreading synchronization securityand
DOI:
CSTR:
Author:
Affiliation:

Clc Number:

Fund Project:

  • Article
  • |
  • Figures
  • |
  • Metrics
  • |
  • Reference
  • |
  • Related
  • |
  • Cited by
  • |
  • Materials
  • |
  • Comments
    Abstract:

    The solution method of Java multi-thread synchronization is to add synchronization synchronized keyword.The synchronize code is synchronized by using synchronized,or the java.util.concurrent.lock package provided in JDK 5.In addition,the security issues,which perhaps occur during the multiple threads access the same variables,is solved by not only synchronization mechanism,but also adding ThreadLocal in JDK.

    Reference
    Related
    Cited by
Get Citation

ZHANG Yong. The discussion about Java multithreading synchronization securityand[J].,2011,28(2):105-108

Copy
Related Videos

Share
Article Metrics
  • Abstract:
  • PDF:
  • HTML:
  • Cited by:
History
  • Received:January 05,2011
  • Revised:
  • Adopted:
  • Online: January 12,2015
  • Published:
Article QR Code