[Vm-dev] FFI and Cog

Mariano Martinez Peck marianopeck at gmail.com
Sat Apr 16 19:32:45 UTC 2011


Hi. I am totally lost with Cog and FFI. There are 3 VMs (Stack, Cog and
CogMT) and 3 FFIs (FFIPlugin, ReentrantIA32FFIPlugin and
ThreadedIA32FFIPlugin)

So..which one should work with which one?

Suppose I don't care about MT yet, which VM / Plugin options do I have
available ?  because I tried using Cog or CogMT, even with FFIPlugin and I
have the error 'Callout mechanism not available'

In the CMake configurations by default it is:

Stack VM -> FFIPlugin   (and others have ReentrantIA32FFIPlugin)
CogVM -> ReentrantIA32FFIPlugin
CogVMMT -> ThreadedIA32FFIPlugin

It is not clear for me.

And suppose that I want to really have MT, what I should I do in addition to
compile CogVMMT with ThreadedIA32FFIPlugin?

Thanks in advance for any clarification.

-- 
Mariano
http://marianopeck.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20110416/52779cf0/attachment.htm


More information about the Vm-dev mailing list