Hi James,<div><br></div><div>Just committed the fix for the test case which I had in ticket #214 - taken from your report below.</div><div><br></div><div>So, it's fixed in trunk!</div><div><br></div><div>Hopefully we can come up with a good protocol for the "interrupted" threads to be able to terminate threads in a nice unwind-protected manner.</div>
<div><br></div><div>Anyway, we're a small step closer to correctly (completely) running lparallel!</div><div><br></div><div>Bye,</div><div><br></div><div>Erik.<br><br><div class="gmail_quote">On Fri, Jun 15, 2012 at 3:31 PM, James M. Lawrence <span dir="ltr"><<a href="mailto:llmjjmll@gmail.com" target="_blank">llmjjmll@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">[I just noticed this wasn't sent to the list.]<br>
<div class="im"><br>
On Tue, Jun 5, 2012 at 8:41 AM, Alessio Stalla <<a href="mailto:alessiostalla@gmail.com">alessiostalla@gmail.com</a>> wrote:<br>
> On Tue, Jun 5, 2012 at 2:30 PM, Mark Evenson <<a href="mailto:evenson@panix.com">evenson@panix.com</a>> wrote:<br>
>><br>
>> On Jun 3, 2012, at 22:19 , James M. Lawrence wrote:<br>
>><br>
>>> (eval-when (:compile-toplevel :load-toplevel :execute)<br>
>>>  (defun foo () 99)<br>
>>><br>
>>>  (define-compiler-macro foo ()<br>
>>>    `(locally (declare (notinline foo))<br>
>>>       (foo))))<br>
>>><br>
>>> (defun call-foo ()<br>
>>>  (foo))<br>
>>><br>
>>> Of course, the use case is a compiler macro that says, "OK, let's<br>
>>> optimize! ... Never mind, I don't want to optimize that."<br>
>><br>
>> Filed [as ticket #214][1]; thanks for the report!<br>
>><br>
>> [1]: <a href="http://trac.common-lisp.net/armedbear/ticket/214" target="_blank">http://trac.common-lisp.net/armedbear/ticket/214</a><br>
><br>
> Shouldn't &whole be used for that?<br>
<br>
</div>Yes I do use a &whole parameter, which handles the case of the<br>
fallback being determined at compile time. Once I have evaluated a<br>
parameter, however, the fallback goes to a notinline call inside the<br>
expansion.<br>
<br>
My example is pmap-into, which has the vector-into-vector case<br>
open-coded. It would be neat if a macro could query declared or<br>
inferred types, but failing that we must evaluate and check.<br>
<br>
Thanks to all for the endorsement :)<br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
armedbear-devel mailing list<br>
<a href="mailto:armedbear-devel@common-lisp.net">armedbear-devel@common-lisp.net</a><br>
<a href="http://lists.common-lisp.net/cgi-bin/mailman/listinfo/armedbear-devel" target="_blank">http://lists.common-lisp.net/cgi-bin/mailman/listinfo/armedbear-devel</a><br>
</div></div></blockquote></div><br></div>