Tag:Process synchronization
-
Thread safety, do you understand the word?
preface Remember the first time you metThread safety“When it comes to this word? The first time I came across the word thread safety was when I was learning multi-threaded concurrent operation. I saw the word appeared in other people’s articles and said that there were various thread safe classes. But at the beginning, I didn’t […]
-
Fundamentals of computer operating system (17) — UNIX socket for process synchronization
introduction This is Chapter 17,UNIX domain socket for process synchronization. The last article introduced the problem of process synchronization through shared memory. This article is another way to realize process synchronization—Unix domain sockets Unix domain sockets Domain socket is an advanced method of interprocess communication UNIX domain socket can be used forSame machineInterprocess communication Socket […]
-
Fundamentals of computer operating system (11) — mutex of thread synchronization
introduction This is the eleventh chapter,Mutex of thread synchronizationIn the previous “computer operating system foundation (4) — process synchronization of process management” mentioned the methods of process synchronization and thread synchronization—mutex 。 It is suggested to review the article “Fundamentals of computer operating system (4) — process synchronization of process management” to facilitate the understanding […]
-
Fundamentals of computer operating system (16) — shared memory for process synchronization
introduction This is the sixteenth chapter,Shared memory for process synchronization。 The previous introduction is to solve the method of thread synchronization, this paper is to deal with the method of process synchronization—Shared memory Shared memory Thread synchronization Each process may have one or more threads. Threads share process resources and need to communicate with each […]
-
Fundamentals of computer operating system (17) — UNIX domain socket for process synchronization
introduction This is Chapter 17,UNIX domain socket for process synchronization。 The last article introduced the problem of processing process synchronization through shared memory. This paper is another method to realize process synchronization—Unix domain sockets Unix domain sockets Domain socket is an advanced method of interprocess communication UNIX domain sockets can be used forSame machineInterprocess communication […]