What are the options (if any) to handle asynchronous FFI callbacks in Pharo 4? By asynchronous I mean that callback gets invoked by foreign language library some time after the FFI function that sets the callback has finished and returned to Smalltalk.
Example of NativeBoost callbacks in the image is synchronous (callback happens while the FFI function is executing), will it also work for async callbacks?
Or maybe one of the older FFI mechanisms will be able to handle this situation?
Than there is CogMT which if I understand could handle this case but also much more. Would it be possible to run Pharo 4 with this virtual machine?