[Openmcl-devel] add-gc-hook / drain-termination-queue
Carlos Ungil
carlos.ungil at gmail.com
Sat Sep 7 15:14:12 PDT 2013
Hello,
I have implemented a proper solution using locks, which seems to work fine and has the added benefit of fixing the concurrency issues for other implementations as well (I used bordeaux-threads as compatibility layer).
Thanks again for you help.
Carlos
On 07/09/2013, at 15:14, Carlos Ungil <carlos.ungil at gmail.com> wrote:
> On 07/09/2013, at 12:04, Gary Byers <gb at clozure.com> wrote:
>> Start by trying to explain how it's doing anything at all. (...)
>
> I'm using (ccl::add-gc-hook .... :post-gc) which as far as I can see is implemented.
>
> Thanks for the example using locks. I agree it is a better solution in principle, I'll try wrapping all the foreign functions in with-lock-grabbed to avoid multi-threaded access to R.
>
> Cheers,
>
> Carlos
More information about the Openmcl-devel
mailing list