G
Guest
Hello,
I have a worker thread ( a shared method in a class) that needs to callback
to another (monitoring) class on certain events. I have been unable to
figure out how to pass the callback address of a delegate in the monitoring
class to the thread. Could someone please point me to a sample or give a few
clues. I have tried to use TLS but can't figure out how to send the result
of the "address of" operator and then recover it by using SetData and
GetData.
Thanks,
Sid.
I have a worker thread ( a shared method in a class) that needs to callback
to another (monitoring) class on certain events. I have been unable to
figure out how to pass the callback address of a delegate in the monitoring
class to the thread. Could someone please point me to a sample or give a few
clues. I have tried to use TLS but can't figure out how to send the result
of the "address of" operator and then recover it by using SetData and
GetData.
Thanks,
Sid.