Nicolai
If I remember igor wanted to manage the threaded code at the level of NB
by creating all the machinery there.
Now talking with Eliot and clement, they have a design of Threaded FFI
that is definitively something that we need
people to help on. Clement told me that the design was not complex and
inspired from a python one. (but I may be wrong).
Clement?
Stef
I've tried to build a pharovm with multithread support. I changed the
config in the
pharo generator.image to use the cogmt config and was able to build a vm.
But this vm crashes on startup. (windows7)
Is this the right way and did anyone got this to work (windows or linux)?
And can this work to make NB callbacks working for multithreaded
libraries.
(I made some simple bindings for the gstreamer lib with NB, this works
for simple calls (create element/change state). But I guess this won't
work
for any gstreamer function that requests a callback that may b e
called from
a different thread)
Would this be the right way to do:
- build a vm with MT support
- guard the NB callback entry/leave code with the ownVM()/disownVM() call.
Or is there more to do.
Thanks in advance
nicolai