• Read write lock


    ReadWriteLock import java.util.HashMap; import java.util.Map; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReadWriteLock; import java.util.concurrent.locks.ReentrantLock; import java.util.concurrent.locks.ReentrantReadWriteLock; /** *An exclusive lock (write lock) can only be held by one thread at a time *Shared lock (read lock) multiple threads can occupy at the same time * ReadWriteLock *Read read can coexist *Read write cannot coexist *Write write can coexist […]

  • Asp.net core developer’s Guide


    1 Introduction Asp.net core developer’s Guide RoadmapIt points out the direction for the learning of our asp.net core developers. According to the roadmap, I have sorted out some reading notes, learning experiences and other article materials in the learning process, hoping to make common progress with you. The codes used in this article are:https://github.com/zcqiand/aspnetcore-guide 2 […]

  • 19. Design mode – observer mode


    The previous article talked about the more traditional usage of the observer model. This article is going to share some popular ones. However, before starting new content, we might as well think about two scenarios. One is the newspaper subscribing to the newspaper, and the other is making an announcement on the blackboard. Both are […]

  • [original] Linux virtualization KVM QEMU analysis (9) virtio device


    background Read the fucking source code!–By Lu Xun A picture is worth a thousand words.–By Golgi explain: KVM version: 5.9.1 QEMU version: 5.0.0 Tools: source insight 3.5, Visio Article synchronization in blog Park:https://www.cnblogs.com/LoyenWang/ In the new year, let’s get up!Ladies and sisters:Falling wild goose and sunken fish orchid hyacinth heart bright eyes bright teeth head […]

  • [original] Linux virtualization KVM QEMU analysis (10) virtio driver


    background Read the fucking source code!–By Lu Xun A picture is worth a thousand words.–By Golgi explain: KVM version: 5.9.1 QEMU version: 5.0.0 Tools: source insight 3.5, Visio Article synchronization in blog Park:https://www.cnblogs.com/LoyenWang/ 1. General The previous article talked about how to create virtio device in QEMU. This article will focus on virtio driver in […]

  • In depth interpretation of the “universal language” of the equipment and the distributed soft bus capability of Hongmeng system


    Abstract: This paper shares Hongmeng distributed soft bus and analyzes the relevant source code, so as to provide information reference and guidance for relevant personnel working on Hongmeng system platform. Bus is an internal structure. In the computer system, each component of the host is connected through the bus, and the external equipment is connected […]

  • Introduction of Vue event bus


    1. Introduction of eventbus Eventbus, also known as event bus, can be used as a communication bridge in Vue. It is an event center shared by all components. It can register with the center to send or receive events. Therefore, components can notify other components in parallel 2. How to use eventbus (1) Initialization First, […]

  • C # event bus


    catalogue brief introduction Implement event bus Define event base classes Defines the base class for event parameters Define eventbus Using event bus Events and event parameters Define publisher Define subscribers Practical use summary reference material brief introduction Event busIt is an implementation of publish subscribe mode and a centralized event processing mechanism, which allows different […]

  • RT thread kernel learning notes – kernel object management


    background Continue to study the most basic and important concept of RT thread: kernel object The kernel object and management method are just like the school library or bus station, which need to be classified and managed Books need bookshelves, object management, use: kernel object container introduce Objects are like a book. How to find […]

  • The concept, use and attention of Vue event bus


    preface The most common data transfer in Vue component is between parent and child components. The parent passes the data to the child through props; The child sends the event through $emit and carries the data to the parent component. Sometimes there is no relationship between two components, or the structure between them is complex, […]

  • Architecture and difference between Dubbo and spring cloud


    Dubbo architecture Springcloud architecture diagram summary frame Dubbo SpringCloud Service registry Zookeeper Spring Cloud Netfix Eureka(nacos) Service call mode RPC REST API Service monitoring Dubbo-monitor Spring Boot Admin Fuse imperfect Spring Cloud Netflix Hystrix Service gateway nothing Spring Cloud Netflix Zuul Distributed configuration nothing Spring Cloud Config Service tracking nothing Spring Cloud Sleuth data stream […]

  • Baby bus and harmony OS join hands to explore the new ecology of smart early education


    From the moment when a new life is born, parents put all their love and warmth into every day when he or she grows up. It is the common expectation of every family to cultivate a smart and healthy baby and create a happy and full childhood for children. In the 21st century, people have […]