<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">off the top of my head, I do not think that this is possible.</div><div class=""><br class=""></div><div class="">The events will have to be serialized in some way.</div><div class=""><br class=""></div><div class=""><div class="">
<div class=""><div class=""><div class=""><span class="" style="float: none; display: inline !important;">Spyridon (Spyros) Mastorakis</span><br class=""><span class="" style="float: none; display: inline !important;">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" class="">http://cs.ucla.edu/~mastorakis/</a><br class=""><span class="" style="float: none; display: inline !important;">Internet Research Laboratory</span><br class=""><span class="" style="float: none; display: inline !important;">Computer Science Department</span><br class=""><span class="" style="float: none; display: inline !important;">UCLA</span></div></div></div>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Nov 21, 2017, at 7:25 PM, 中村真也 <<a href="mailto:nakamura@c.info.eng.osaka-cu.ac.jp" class="">nakamura@c.info.eng.osaka-cu.ac.jp</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Thank you for replying.<div class=""><br class=""></div><div class="">yes, I know ndnSIM supports MPI but this is for speeding up.</div><div class=""><br class=""></div><div class="">For achive my purpose, is there a way to send some interest <span style="color: rgb(84, 84, 84); font-family: arial, sans-serif; font-size: small; background-color: rgb(255, 255, 255);" class="">simultaneously.</span></div><div class=""><span style="color: rgb(84, 84, 84); font-family: arial, sans-serif; font-size: small; background-color: rgb(255, 255, 255);" class="">e.g. send Interest /A,/B,/C at the same time and receive data.</span></div><div class=""><br class=""></div><div class=""> <br class=""><div class="">
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">--------------------------------------------------- <br class="">大阪市立大学 工学部 電子情報系専攻<br class="">情報通信領域 M1<br class="">中村 真也(Masaya Nakamura )<br class=""><a href="mailto:nakamura@c.info.eng.osaka-cu.ac.jp" class="">nakamura@c.info.eng.osaka-cu.ac.jp</a> <br class="">---------------------------------------------------<br class=""><br class=""></div></div></div>
</div>
<br class=""><div class=""><blockquote type="cite" class=""><div class="">2017/11/22 2:00、Spyridon (Spyros) Mastorakis <<a href="mailto:mastorakis@cs.ucla.edu" class="">mastorakis@cs.ucla.edu</a>>のメール:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">In general, NS-3 (and as a result ndnSIM too) is single-threaded. Multi-threading is only supported in NS-3 through the MPI framework:</div><div class=""><br class=""></div><div class=""><a href="http://ndnsim.net/2.4/parallel-simulations.html" class="">http://ndnsim.net/2.4/parallel-simulations.html</a></div><div class=""><a href="https://stackoverflow.com/questions/35543906/parallel-simulations-using-ns3-and-stdthread" class="">https://stackoverflow.com/questions/35543906/parallel-simulations-using-ns3-and-stdthread</a></div><div class=""><a href="http://ndnsim.net/2.4/parallel-simulations.html#simple-scenario-with-mpi-support" class="">http://ndnsim.net/2.4/parallel-simulations.html#simple-scenario-with-mpi-support</a></div><div class=""><br class=""></div><div class="">I am not sure though how (and whether) it would be possible to parallelize an ndn-cxx app in ndnSIM.</div><div class=""><br class=""></div><div class="">Thanks,</div><div class=""><br class=""></div><div class=""><div class="">
<div class=""><div class=""><div class=""><span class="" style="float: none; display: inline !important;">Spyridon (Spyros) Mastorakis</span><br class=""><span class="" style="float: none; display: inline !important;">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" class="">http://cs.ucla.edu/~mastorakis/</a><br class=""><span class="" style="float: none; display: inline !important;">Internet Research Laboratory</span><br class=""><span class="" style="float: none; display: inline !important;">Computer Science Department</span><br class=""><span class="" style="float: none; display: inline !important;">UCLA</span></div></div></div>
</div>
<br class=""><div class=""><blockquote type="cite" class=""><div class="">On Nov 21, 2017, at 1:02 AM, 中村真也 <<a href="mailto:nakamura@c.info.eng.osaka-cu.ac.jp" class="">nakamura@c.info.eng.osaka-cu.ac.jp</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">hi all. im new to ndnSIM. And i’d like to simulate my ndn-cxx app that generate multithread.<div class="">but ndnSIM does not support thread.</div><div class="">Actually, simulation called "terminate called without an active exception”</div><div class="">Let me know the way to run functions in parallel.</div><div class=""><br class=""></div><div class="">also, I want to know the details on how. If possible, let me see sample code.</div><div class=""><br class=""></div><div class="">best</div><div class=""><div class=""><div class="">
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">--------------------------------------------------- <br class="">Osaka City University<br class="">中村 真也(Masaya Nakamura )<br class=""><a href="mailto:nakamura@c.info.eng.osaka-cu.ac.jp" class="">nakamura@c.info.eng.osaka-cu.ac.jp</a> <br class="">---------------------------------------------------<br class=""></div></div></div></div></div></div></div></div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div></body></html>