"Jörg F. Wittenberger" <[email protected]> writes:

> Except that it crashes all the time.  "callback returned twice"
>
> So what's the recipe to hit that problem?

Having your C library call callbacks outside of a foreign-safe-lambda
call. This might affect you if said library uses threads and passes on
the function pointer to your scheme callback.

The remedy for this is to use the concurrent-native-callbacks egg
which uses a dispatcher stub written in C.

HTH,

Christian

-- 
May you be peaceful, may you live in safety, may you be free from
suffering, and may you live with ease.


_______________________________________________
Chicken-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to