36 ms·
I think the SDL2 bindings for Common Lisp went through a similar realization and any kind of finalization was removed.
by LispSporks22 3y ago
I think the SDL2 bindings for Common Lisp went through a similar realization and any kind of finalization was removed.
- phoe-krk 3y agoYes. Yet another problem with finalizers is the question of "which thread does actually run the finalizers"? In case of some C libraries, objects must be released exactly by the thread in which they were allocated; this means that e.g. in Steel Bank Common Lisp it is impossible to use finalizers in these cases.