"Raab, Andreas" wrote:
Callbacks are currently not support in the FFI stuff. There is more than one reason for it but for me the primary reason is that adding callbacks has some serious implications on the general working of the VM - so I was trying to avoid an (in my understanding unnecessary) complication for the forthcoming J3.
A while ago a thought of a portable way of implementing something like callbacks. Indeed I just realized how it's implemented in Squeak. Isn't it possible to provide a portable callback mechanism using Semaphores?
Callbacker Bye! Richie++
-- A390 1BBA 2C58 D679 5A71 - 86F9 404F 4B53 3944 C2D0 Investigacion y Desarrollo - CoreLabs - Core SDI http://www.core-sdi.com
--- For a personal reply use gera@core-sdi.com