[erlang-questions] idea: Erlang FFI: callbacks and memory management

Joel Reymont joelr1@REDACTED
Wed Dec 12 11:33:01 CET 2007


On Dec 12, 2007, at 10:13 AM, Alceste Scalas wrote:

> Anyway, I think I could make one reasonable hypothesis:
>
>        An Erlang callback is evaluated in the same process that
>        performs the FFI call that causes the callback invocation.


This won't work in the context of a Cocoa bridge, for example. Your  
callback could be called at any point in time and it would be strictly  
a C to Erlang invocation.


--
http://wagerlabs.com








More information about the erlang-questions mailing list