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

Re: Comunication Between Threads C# by Jon

Jon
Tue Jun 22 00:28:02 CDT 2004

Fernando Andr=E9 <andre@netcrash.no-ip.com> wrote:
> Sorry I forgot to specify the language I am using the language I'm using=
=20
> is C# .
> Hello,
> could anyone give me a help on the best way to transmit the results of a=
=20
> 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=
=20
> has to be void... So, I can't return anything.
> What's the best way to do this ?

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
If replying to the group, please do not mail me too