Tag Info

New answers tagged


It depends. Using a reader/writer lock rather than a critical section can be beneficial if read operations are noticeably more common than write operations. But I think you could probably achieve more by changing your application architecture. If writes are rare, you can probably get much better performance by treating the collection as immutable and ...


Short answer in two words: OBSERVABLE NONDETERMINISM Long answer: It depends on which approach to concurrent programming you use given your problem. In the book Concepts, Techniques, and Models of Computer Programming, authors clearly explain four main practical approaches to writing concurrent programs: Sequential programming: a baseline approach that ...

Top 50 recent answers are included