简体   繁体   中英

Delegate.BeginInvoke Thread

I Know that Delegate.BeginInvoke() initiates the asynchronous call on a separate thread taken from the ThreadPool . But i still have a confusion whether that thread must be always different from caller thread or both method can be on the same thread.

The function is called asynchronously (so it must be on a different thread). You can execute something in between and possibly wait for the asynchronous operation to finish with EndInvoke.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM