<div><meta http-equiv="content-type" content="text/html; charset=utf-8">&gt;Between the two, you need to channel multithreaded communications into singlethreaded &gt;communications so that they can fit with Pd. </div><div>

That&#39;s always possible of course. One way to go.</div><div><br></div><div>&gt;If you can&#39;t use (or don&#39;t want to use) Pd&#39;s sys_lock() for whatever reason, you will need some kind of &gt;intermediate buffer so that your Pd objects can pick up the data coming from openMP.</div>

I&#39;ll dig in a bit into that.<div><br></div><div>Thanks for the comments,</div><div><br></div><div>best regards,</div><div>Pedro<br><br><div class="gmail_quote">On Fri, Dec 3, 2010 at 1:55 PM, Mathieu Bouchard <span dir="ltr">&lt;<a href="mailto:matju@artengine.ca">matju@artengine.ca</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Wed, 1 Dec 2010, Pedro Lopes wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
During that I realized I could implement it in parallel via OpenMP, but tried to compile the code with some openMP directives and it did not work for the pd_external, it seemed that PD could not handle it somehow[2]. So what I wanted was &quot;an object&quot; to be parallel by itself. Not a series of different objects. Does anyone ever made an external that itself uses openMP?<br>


</blockquote>
<br></div>
I suppose it means that the code that uses openMP must not use Pd, and the code that uses Pd must not use openMP. Between the two, you need to channel multithreaded communications into singlethreaded communications so that they can fit with Pd. If you can&#39;t use (or don&#39;t want to use) Pd&#39;s sys_lock() for whatever reason, you will need some kind of intermediate buffer so that your Pd objects can pick up the data coming from openMP.<br>


<br>
I don&#39;t know any openMP though.<div><div></div><div class="h5"><br>
<br>
 _______________________________________________________________________<br>
| Mathieu Bouchard ---- tél: +1.514.383.3801 ---- Villeray, Montréal, QC<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Pedro Lopes (MSc)<br>contact: <a href="mailto:pedro.lopes@ist.utl.pt" target="_blank">pedro.lopes@ist.utl.pt</a><br>website: <a href="http://web.ist.utl.pt/Pedro.Lopes" target="_blank">http://web.ist.utl.pt/Pedro.Lopes</a> <br>


</div>