<div dir="ltr">Zooming out, the memory ordering question is in here also.<div><br></div><div>Do you intend to implement a (barrier!) primitive for platforms with weak memory ordering?</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-09-17 18:19 GMT+08:00 Adam <span dir="ltr"><<a href="mailto:adam.mlmb@gmail.com" target="_blank">adam.mlmb@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Marc,<div><br></div><div>This is a general question on how to use SMP (and single-processor) Gambit:<br><div><div><br></div><div>If you're running some algorithm or other code that requires fine-granularity work stealing or otherwise parallel execution and/or data structure access, how are you supposed to implement that, in a way that should have good performance and be effective? -</div></div></div><div><br></div><div>Are mutex lock/unlock operations with zero-timeouts, and/or the use of condition variables, and/or the use of thread message passing with zero timeout, intended to satisfy these use cases, or do you propose other primitives or methods?</div><div><br></div><div>Also, do you plan to implement any additional parallelism primitives now with SMP Gambit?</div><div><br></div><div>Thanks!</div></div>
</blockquote></div><br></div>