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

Within main, return expr statement is equivalent to ______ What is the auxiliary space requirement of counting sort? What is the use of random_shuffle() function of STL algorithm? What will be the correct output of the following program? #include<string.h> void main() { char str[] = "C EXAMINATION", rev[17]; int i = strlen(str), j=0; for( ; i>=0; rev[j++] = str[i--]) rev[j] = str[j] ; puts(rev); } R language has superficial similarity with ______