atomic operation
-
Resource Sharing, Critical Sections, and Atomic operationsModeling/Architecture 2020. 2. 27. 00:02
1. Overview Resource sharing is multi-thread architecture design. 2. Resource Sharing 2.1 What is a resource Variables (Integers, Strings, and etc.) Data Structures File or Connection handles Message or work queues Any Objects 2.2 Why share resources 2.2.1 Case 1 In this case, the benefit from sharing this data structure is that the document saver thread can save the user from losing his or her ..