Re: Message Passing Techniques



Curious,

What kind of messages do you need to pass between threads? It might be
possible to replace the logic you are trying to implement (from what it
seems like a legacy system where you didn't have a thread pool) with
something else.

For what reason are you trying to pass messages between threads? Are
you managing these threads yourself, and if so, why arent you using the
thread pool?


--
- Nicholas Paldino [.NET/C# MVP]
- mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx

"Curious" <theone@xxxxxxxxxxxxxxxxxx> wrote in message
news:1132137660.279784.229180@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi,
>
> I need some technique to communicate by passing messages with different
> threads. For my problem shared memory is not applicable.
>
> Can someone give me some help of what there is available in the .net.
>
> Thanks in Advance
>


.



Relevant Pages

  • General Queries on dotnet
    ... 1)which of the following operates in homogenous platform? ... 2)No.of threads in a thread pool where N is a process? ... Shyam ... Prev by Date: ...
    (microsoft.public.dotnet.framework)
  • Limiting the maximum number of threads created by Tomcat
    ... in its thread pool? ... Ideally, short of hacking it. ... Rob ... Prev by Date: ...
    (comp.lang.java.help)
  • Re: Creating a Timeout on a method
    ... > class, in each thread of the thread pool, I call this external API. ... java.util.Timer) and should the call still be active, interrupt the thread. ... The app as a whole may be in a corrupted ... Prev by Date: ...
    (comp.lang.java.programmer)
  • Can the threadpool WaitCallback delegate be called ByRef?
    ... I wanted to use the thread pool to operate on objects that are keeping track ... I was hoping that I could pass byRef. ... ByVal state As Object _ ... Prev by Date: ...
    (microsoft.public.dotnet.languages.vb)

Loading