Hi all, chap 7 states: "vector and hashtable are synchronized to be thread safe" and " when we say that vector and Hashtable are synchronized,we just mean that the key methods of the class are synchronized"- can anyone explain how this works??
Hi Jesper, Thanks for the reply. regarding the first line - threads are synchronized to be thread safe - is it like " one thread cant access the hashtable when it is being accessed by other thread" - is my understanding right or is there something more to that statement??
thanks in advance!!!
Montana has cold dark nights. Perfect for the heat from incandescent light. Tiny ad:
Gift giving made easy with the permaculture playing cards