Tag:Thread

  • Summary of computer foundation in autumn 2021 interview – Java foundation, JVM, spring framework

    Time:2020-10-30

    Series articles: Summary of computer foundation in autumn 2021 interview algorithm, data structure, design pattern, Linux Summary of computer foundation in autumn 2021 interview – Java foundation, JVM, spring framework Summary of computer foundation for 2021 autumn recruitment interview database, redis Summary of computer foundation for 2021 autumn recruitment interview – operating system Summary of […]

  • Debugging notes for async + await + task asynchronous mechanism of C ා 5.0 (. After net 4.5)

    Time:2020-10-30

    1.) no return value (asynchronous is also thread based). using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace ConfigLab.Test.BLL.AsyncTaskSpace { /// ///Function Description: test asynchronous processing mechanism of async + wait + task with no return value and no waiting. ///Creation time: August 21, 2020 ///Created by: PCW ///Blog: http://cnblogs.com/taohuadaozhu /// […]

  • Cache combat

    Time:2020-10-30

    Cache update mode Many R & D students use caching in this way: when querying data, first go to the cache to query. If it hits the cache, it will directly return the data. If there is no hit, then go to the database to query, get the query results, write the data to the […]

  • Linux system programming mutex

    Time:2020-10-30

    Mutex As mentioned above, if there is resource sharing in the system, there is competition between threads, and there is no reasonable synchronization mechanism, there will be data confusion. In order to realize the synchronization mechanism, Linux provides a variety of ways, one of which is mutex (also known as mutex). Each resource can be […]

  • Hard core JS to understand JS operation mechanism at one time

    Time:2020-10-29

    preface From the beginning of front-end to now, I have read many posts about JS operation mechanism. I forgot it after reading it. I’d better do it myself Make yourself have a deeper understanding of JS operation mechanism through code words (I will remember the content of the post I wrote carefully) By the way, […]

  • C ා thread pool

    Time:2020-10-29

    Why use thread pool? There is no need to repeatedly open a new destroy thread Environment: vs 2015. Net 4.5.2 output environment: console application Post code: class Program { Static int workerthreads; // the maximum number of worker threads in the thread pool Static int completionportthreads; // the maximum number of asynchronous I / O […]

  • How to run flutter on IOS

    Time:2020-10-29

    abstract This paper mainly focuses on how to run flutter on IOS, and summarizes the general running process. The key classes involved are as follows: FlutterViewController FlutterView FlutterEngine DartIsolate FlutterViewController There must be a carrier for the embedded native application of the fluent. Starting from this point, the entry point of the API in the […]

  • Common usage of asynchronous multithreading in C ා

    Time:2020-10-28

    This article is a summary of the article. Let’s not talk nonsense. Let’s first look at some basic concepts (purely personal opinions, which may not be accurate) Process: the sum of all running resources occupied by a program when it is running. Thread: thread is under the management of the operating system, can also have […]

  • Introduction to swoole 4 – getting to know swoole

    Time:2020-10-28

    Operation flow chart When a swote application is started, a total of 2 + N + m processes will be created. 2 is a master process and a manager process, where n is the number of worker processes and M is the number of taskworker processes. Explanation of terms Master process The main process, which […]

  • Tikv source code analysis series – raft optimization

    Time:2020-10-28

    Abstract: this series of articles mainly for tikv community developers, focusing on tikv system architecture, source structure, process analysis. The purpose is to enable developers to have a preliminary understanding of the tikv project after reading, and better participate in the development of tikv. This is the sixth chapter of this series. Focus on the […]

  • Complete interpretation of futuretask source code

    Time:2020-10-28

    1 Introduction In the last blog “Introduction to asynchronous task service”, futuretask was briefly introduced and analyzed. Here is a further analysis of futuretask (based on JDK1.8). Futuretask implements the future and runnable interfaces at the same time, so it can be handed over to the executor executor to execute the run method directly by […]

  • Summary of the latest Alibaba Tencent headlines, meituan and other IOS interviews

    Time:2020-10-28

    preface ========= Recently, the Spring Festival recruitment has been in a tense interview, and now it has got the headline offer, so it is not so nervous. Decided to take out the interview questions to share with you, welcome to discuss together. Now let’s share the following questions. Beautiful group I don’t remember very well […]