<div dir="ltr"><div dir="ltr">Hi Raghav,<div><br></div><div>> In this scenario, is it possible to signal the thread to yield to the xstream?</div><div><div>No. The official Argobots does not support this.<br></div></div><div><br></div><div>We wrote a research paper on preemptive context switch using ABT_thread (i.e., automatic context switching without modifying thread's function). This work open-sources an artifact, so you can try it for a research purpose (but again, it is not officially supported by Argobots and not ETA for this feature).</div><div><div>S. Shiina et al, Lightweight Preemptive User-Level Threads, PPoPP '21<br></div><div><br></div><div>Thanks,</div><div>Shintaro</div><br class="gmail-Apple-interchange-newline"></div></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 17, 2022 at 6:24 AM Raghav Gupta via discuss <<a href="mailto:discuss@lists.argobots.org" target="_blank">discuss@lists.argobots.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thanks Shintaro for your reply,<br><br>I have a follow-up question. I have an ABT_thread, which is a long-running thread, and I cannot modify the thread's function, i.e. it is not possible to insert the instruction "ABT_self_yield()" inside the thread's function. In this scenario, is it possible to signal the thread to yield to the xstream?<br><br>Best,<br>Raghav<br></div>
_______________________________________________<br>
discuss mailing list<br>
<a href="mailto:discuss@lists.argobots.org" target="_blank">discuss@lists.argobots.org</a><br>
<a href="https://lists.argobots.org/mailman/listinfo/discuss" rel="noreferrer" target="_blank">https://lists.argobots.org/mailman/listinfo/discuss</a><br>
</blockquote></div></div>