What are the two ways you can synchronize a block of code?
Answer Posted / popol83
I think using mutex is the second way.
Because synchronizing an object is useless
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is a byte string?
When does a class need a virtual destructor?
What makes a function well defined?
What do you mean by scope of variable?
What is a map in java?
Does set allows null in java?
What is the disadvantage of java?
If two threads have same priority which thread will be executed first ?
Is cout buffered?
When can you say a graph to be a tree?
What is the argument in java?
What do you mean by mnemonics?
What is an infinite loop in java? Explain with an example.
What does system out println () do?
What is meant by data hiding/encapsulation?