Alexandre AlcuvillaforSwiftUI Centralscrewdriver.hashnode.net·Jan 12, 2023SwiftUI - TDD actor to avoid race conditionProblem: How to avoid threading race conditions in your class? Solution: Use actor that handles all the concurrency for you! Code that runs synchronously is easy to manage and understandBut when start introducing threads, problems occurYou need to ma...Discuss·5 likes·75 readsactor
Shashank Bhat G SforShashank Bhat G Sshashankbhatgs.hashnode.net·Jul 6, 2022Race Condition in Operating SystemsA Race Condition in OS is a scenario that occurs in a multithreaded environment due to multiple threads sharing the same resource or executing the same piece of code. When the concurrently executing threads access the same shared data, it may affect...Discuss·3 likesoperating system
Nasirfornasirmomin.hashnode.net·Mar 19, 2023ACTORs, a way to avoid RACE condition in SwiftWhat is a race condition in general? A race condition is an event that occurs when two or more threads/processes access shared data and try to modify it at the same time, which leads to unpredictable behaviour. The output completely depends on the ti...Discussactors
Nasirfornasirmomin.hashnode.net·Mar 19, 2023ACTORs, a way to avoid RACE condition in SwiftWhat is a race condition in general? A race condition is an event that occurs when two or more threads/processes access shared data and try to modify it at the same time, which leads to unpredictable behaviour. The output completely depends on the ti...Discussactors
Alexandre AlcuvillaforSwiftUI Centralscrewdriver.hashnode.net·Jan 12, 2023SwiftUI - TDD actor to avoid race conditionProblem: How to avoid threading race conditions in your class? Solution: Use actor that handles all the concurrency for you! Code that runs synchronously is easy to manage and understandBut when start introducing threads, problems occurYou need to ma...Discuss·5 likes·75 readsactor
Shashank Bhat G SforShashank Bhat G Sshashankbhatgs.hashnode.net·Jul 6, 2022Race Condition in Operating SystemsA Race Condition in OS is a scenario that occurs in a multithreaded environment due to multiple threads sharing the same resource or executing the same piece of code. When the concurrently executing threads access the same shared data, it may affect...Discuss·3 likesoperating system