This constant determines whether the osOpenCountSem function is included or excluded during the compilation process. The function is compiled into the system if the constant value is set to 1, and is omitted when the value is set to 0.
If the constant is not explicitly defined, it defaults to 1 and the function is included in the final executable. If none of the osOpen* functions are utilized within the application, the system automatically ignores object names and excludes the internal logic for name management. This optimization reduces the final binary size of the output code. For further information regarding object naming and opening procedures, refer to the system objects management section.
| Version: | 1.0 |
|---|---|
| See also: | counting semaphores, osOpenCountSem, system objects management |