hi,i have a question which is probably very simple.
I have a server that runs a thread that computes some data through
function X. Then i have a client that communicates with the server and gets
results from function Y. Now, both function (X and Y) share a common variable lets say varZ. When function X populates varZ when the thread starts
on the server, the results are not propagated on function Y when accessed
by the client through Remoting. But on the server side the results are correct in function Y!
It's almost like when client calls function Y, it has no idea what is happening varZ is as far as the value set by function X thread in the server.
Any ideas(probably very silly question)?
I have a server that runs a thread that computes some data through
function X. Then i have a client that communicates with the server and gets
results from function Y. Now, both function (X and Y) share a common variable lets say varZ. When function X populates varZ when the thread starts
on the server, the results are not propagated on function Y when accessed
by the client through Remoting. But on the server side the results are correct in function Y!
It's almost like when client calls function Y, it has no idea what is happening varZ is as far as the value set by function X thread in the server.
Any ideas(probably very silly question)?
Comment