山积而高,泽积而长
KingYen's Blog ⚡️
Blog
    Singleton 单例模式
    Singleton 单例模式Design Patten
    单例模式可能是最简单也最常用的设计模式之一,其实整体来讲实现起来并不难,但是难点在于懒汉模式下,如何保证在并发环境下的线程安全,纵览了Go和Java中的实现模式,其实总体来讲都是采用了 Dubbo Check 的方式保证了线程安全问题,应该属于一个非常经典的解法了
    GoDesign Patten
    About oerv
    About oervOERV
    Summary of my work in the OpenEuler team at PLAT Labs, ISCAS
    openEulerLinuxRISC-V
    Fix cmake compilation issues with clang
    Fix cmake compilation issues with clangOERV
    Summary of my work in the OpenEuler team at PLAT Labs, ISCAS
    openEulerLinuxRISC-VLLVM
Recent posts
CopyRight © 2026KingYen.
鲁ICP备2024135406号
KingYenKY
Navigation
  • Home
  • About me
  • Blog
  • Tutorials
  • Contact
KingYenKY
Navigation
  • Home
  • About me
  • Blog
  • Tutorials
  • Contact