Should you protect the global data in threads? Why or why
not?
Answer Posted / aravind k r
Global data need to be stored in a common place where each
thread can access it within that program. So it shouldnot
be stored on a particular thread but in the process's
memory where each thread can access it.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is a class and object?
What is object in oop with example?
What are two types of polymorphism?
What is constructor overloading in oop?
Which language is not a true object oriented programming language?
What are the benefits of polymorphism?
What is encapsulation example?
What is encapsulation in simple terms?
What are classes oop?
Is this job good for future? can do this job post grduate student?
• What are the desirable attributes for memory managment?
What is multilevel inheritance explain with example?
What is a superclass in oop?
Why is destructor used?
What is methods in oop?