tell in async way ,to other thread to execute method

R

roni

hi.
i have applcation in net.
in that application i have 3 threads.

1- main thread with message loop and form
2. thread with message loop and form
3. thread with message loop and form


now ,i want thread 2 to tell thread 3 to exceute method in async way :

how can i do that ?

if i will use the asnyc call through NET , that thread that will exceute the
method will be
thread from thread pool.

any ideas ?
 
R

richlm

You can use "Control.BeginInvoke" to execute an arbitrary delegate on the
thread that instantiated the control.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top