简体   繁体   中英

Is there any differences between send and dsend in SimGrid?

除了阻塞/非阻塞功能外,SimGrid 中的 send 和 dsend 有什么区别吗?

dsend is a non-blocking detached send. If you look for a non-blocking send, then that's isend . The difference is that where you absolutely have to do MSG_comm_wait() or MSG_comm_test() to finish a communication that were started with isend (the data transfer will not occur unless you do so), you cannot interact with the communication started with dsend .

The concept of detached communications is inspired from detached threads, so it may help to read about it on the Internet.

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