beautypg.com

Echelon Neuron User Manual

Page 131

background image

Neuron Tools Errors Guide

123

NCC#

Description

607

The use of infinite locks in a release build is not recommended [NCC#607]

This warning is given when you are building a release target that contains

one or more infinite

__lock

constructs (a

__lock

construct that uses the

#pragma deadlock_is_infinite directive).
Use finite

__lock

constructs instead. To do this, replace all #pragma

deadlock_is_infinite directives in

__lock

constructs with the #pragma

deadlock_is_finite directive. Rebuild and then reload the release target.
For more information on the #pragma deadlock_is_infinite and #pragma
deadlock_is_finite directives, see the

Neuron C Reference Guide

.