all groups > dotnet windows forms > june 2004 >
You're in the

dotnet windows forms

group:

Comunication Between Threads C#


Comunication Between Threads C# Fernando_André
6/21/2004 10:14:49 PM
dotnet windows forms: Sorry I forgot to specify the language I am using the language I'm using
is C# .
Hello,
could anyone give me a help on the best way to transmit the results of a
function in a thread to where she has started from ?
Problem is if i'm not in error that the function launched by the thread
has to be void... So, I can't return anything.
What's the best way to do this ?

I have heard of IPC but don't have mutch knowledge of this but looks
like "you" write the data to a file and then read the file, from the
main process.

Thank You in advance for any help.
Re: Comunication Between Threads C# Jon Skeet [C# MVP]
6/22/2004 6:28:02 AM
[quoted text, click to view]

It really depends on the exact situation, but there are various ways of=20
doing it.

See http://www.pobox.com/~skeet/csharp/multithreading.html

--=20
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet
AddThis Social Bookmark Button