tell in async way ,to other thread to execute method

  • Thread starter Thread starter roni
  • Start date Start date
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 ?
 
You can use "Control.BeginInvoke" to execute an arbitrary delegate on the
thread that instantiated the control.
 
Back
Top