阅读背景:

在.NET中,调用堆栈是否与线程密不可分?

来源:互联网 

Is it at all possible in the middle of a function execution to set a pointer to the current stack (to be picked up later) and then release the current thread (without unwinding the call stack) and give it back to the thread pool? And then, have another thread pick up where that thread left off? I know it would mean that someone calling into the function would not know that the current thread context would have changed, and it would probably involve writing some custom IL code to do something like this, but is there ANY way to do this?Is it at all possible in the middle of a functi




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: