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.
|
|---|