OS_ALLOW_OBJECT_DELETION definition

This constant defines if the objects deletion is available or not. By default it is set to 1 that means the object deletion is available. When it is set to 0, the osCloseHandle will be unavailable, and osOpen* functions will return the object handle only, without opening it. That enables to decrease resources used by the system and reduce the output code. For more information please refer to system objects management section.

SpaceShadow documentation