Home / MCQ Bank / Computer
Computer Multithreading In C Sharp

What is the purpose of synchronization in multithreading?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option D • To ensure that only one thread accesses a shared resource at a time

Related Computer Questions

What is the purpose of the JavaScript Engine? Which loop in C# is more appropriate for iterating through an array? How is a generator object iterated in a for loop? Which of the following is effective way of checking validity of data analysis? What will be the output of the following C++ code? #include<iostream> using namespace std; int main() { int x = 5; auto check = []() -> bool { if(x == 0) return false; else return true; }; cout<<check()<<endl; return 0; }