NIL 21.11.4 - CH_PORT_SUPPORTS_RECURSIVE_LOCKS?
Posted: Wed Jan 07, 2026 4:58 pm
Hello,
maybe I have found a bug in NIL. In ch.h CH_PORT_SUPPORTS_RECURSIVE_LOCKS is defined TRUE only #if defined(port_get_lock_status) && defined(port_is_locked), but both port_get_lock_status and port_get_lock_status are always NOT defined, as there is no #include "chcore.h" (differently from RT, where the same is done in chport.h, and that includes chcore.h).
Ciao,
Davide
maybe I have found a bug in NIL. In ch.h CH_PORT_SUPPORTS_RECURSIVE_LOCKS is defined TRUE only #if defined(port_get_lock_status) && defined(port_is_locked), but both port_get_lock_status and port_get_lock_status are always NOT defined, as there is no #include "chcore.h" (differently from RT, where the same is done in chport.h, and that includes chcore.h).
Ciao,
Davide