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


Please Help Members By Posting Answers For Below Questions

Is html an oop?

571


can we make game by using c

3411


Why do we use inheritance?

628


Are polymorphisms mutations?

693


State what is encapsulation and friend function?

692






What makes a language oop?

591


What is inheritance and how many types of inheritance?

611


can inline function declare in private part of class?

3653


What is destructor give example?

595


to find out the minimum of two integer number of two different classes using friend function

1635


what is graphics

2004


What is the real life example of polymorphism?

604


What is difference between multiple inheritance and multilevel inheritance?

597


what is the 3 types of system development life cycle

2429


What are the types of abstraction?

551