Should you protect the global data in threads? Why or why
not?
Answer Posted / srini
Global datas needs to be protected in threads since threads
share address space with each other.
| Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
What is the main feature of oop?
What is debug class?what is trace class? What differences are between them? With examples.
what is the sylabus for priliminaries?
c++ program to swap the objects of two different classes
What is difference between data abstraction and encapsulation?
What is abstraction oop?
What are the 4 main oop principles?
What is oops with example?
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
Which language is not a true object oriented programming language?
What is the oops and benefits of oops programming?
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.
What are the benefits of polymorphism?
What are the types of abstraction?
What is destructor example?