B
bhargavchokshi
Hi,
I m kind of new to multithreading programming and try to implement one
solution. The problem I have is, I have one background thread which
does time consuming processing. The parent(calling) thread can be
windows application or console application or simple object. How can I
pass message from Background thread to parent thread. The message is
of type custom object so that I cant use BackgroundWorker class's
progress report method. I tried delegates but to update windows
control I have to use Invoke method. But I want the solution so
generic that when it come to parent they can directly update control
without considering threading in mind.
Any help is highly appreciated...thanks in advance..!!!
I m kind of new to multithreading programming and try to implement one
solution. The problem I have is, I have one background thread which
does time consuming processing. The parent(calling) thread can be
windows application or console application or simple object. How can I
pass message from Background thread to parent thread. The message is
of type custom object so that I cant use BackgroundWorker class's
progress report method. I tried delegates but to update windows
control I have to use Invoke method. But I want the solution so
generic that when it come to parent they can directly update control
without considering threading in mind.
Any help is highly appreciated...thanks in advance..!!!