On Mon, Oct 23, 2017 at 11:46 PM, Jan Cada <j...@cada.cz> wrote:

> Hi,
>
> I would like to connect fingerprint reader to pharo - so far I am able to
> use C library to connect to it using UFFI,
> however the problem is that I can wait for fingerprint indefinitely (
> blocking call to library) or register call-back for moment when fingerprint
> is available.
> The registration function returns immediately, so it is clear that the
> callback will be called from another thread.
>
> Is such situation supported by UFFI ?
>
> Thanks for any tip,
>
> Jan
>

Callbacks are supported. Here is an example...
http://blog.openinworld.com/2016/09/pharo-libclang-ffi-part-4-ast-walking-with-visitors-callbacks/

@Todd, How did find working through this part?
cheers -ben

Reply via email to