[Vm-dev] re: Can OSProcess functionality be implemented using FFI
instead of plugin?
Craig Latta
craig at netjam.org
Mon Jan 18 11:10:55 UTC 2016
> ...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.)
-C
--
Craig Latta
netjam.org
+31 6 2757 7177 (SMS ok)
+ 1 415 287 3547 (no SMS)
More information about the Vm-dev
mailing list