chi <[email protected]> writes: > If you use a C library that requires callbacks, like libuv for > instance, is it possible to write a procedure in chicken that will be > guaranteed to return, as the C library requires? Like, by avoiding > thread switching or call/cc or something?
Apart from using define-external as mentioned by Ivan you might encounter another problem if the callbacks are being called from another native thread. In this case you will need a different approach and should be using the concurrent-native-callbacks egg. Kind regards, 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
