[Vm-dev] re: Can OSProcess functionality be implemented using FFI
instead of plugin?
kilon.alios at gmail.com
Mon Jan 18 11:29:28 UTC 2016
so I assume that means callbacks from inside C threads works fine which
make it more than enough at least for now.
Does that mean that the VM will implement a real threading mechanism ?
On Mon, Jan 18, 2016 at 1:11 PM Craig Latta <craig at netjam.org> wrote:
> > ...when Craig Latta tried to use [Alien FFI] late last year it worked
> > up to a point. The thing that didn't work was callbacks from foreign
> > threads. So it looks like the core threading code is not too far
> > away from working.
> (Yes, it seemed close enough that I spent several hours debugging,
> trying to get it the rest of the way. I ran out of time, so I wrote a
> wrapper C library around the one I wanted to use, with threaded C
> callback functions that signalled Smalltalk semaphores on which my
> synchronous-FFI Smalltalk process waited. A hack, but it worked fine and
> was simple.)
> Craig Latta
> +31 6 2757 7177 (SMS ok)
> + 1 415 287 3547 (no SMS)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Vm-dev