in reply to Re^2: How to pass a object value to global array in threads
in thread How to pass a object value to global array in threads

See my problem is because of legacy code. I required to store all the telnet handle to an global array and that array of handles is used every where.

That simply makes no sense. If modern code (of any type or language) cannot successfully make concurrent use of a shared telnet session; neither can legacy code.

And if you cannot use the telnet handle concurrently, there is no reason and it makes no sense, to store them in a shared global array.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re^3: How to pass a object value to global array in threads