Activate thread synchronically

Posted by mayap on Stack Overflow See other posts from Stack Overflow or by mayap
Published on 2010-06-17T06:26:44Z Indexed on 2010/06/17 6:33 UTC
Read the original article Hit count: 199

Filed under:
|
|
|

Hi All,

I'm using .Net 4.0 parallel library. The tasks I execute, ask to run some other task, sometimes synchronically and somethimes asynchronically, dependending on some conditions which are not known in advanced. For async call, i simply create new tasks and that's it. I don't know how to handly sync call: how to run it from the same thread, maybe that sync tasks will also ask to execute sync tasks recursively. all this issue is pretty new to me.

thanks in advance.

© Stack Overflow or respective owner

Related posts about .NET

Related posts about thread