You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nathanscottdaniels edited this page Oct 17, 2016
·
1 revision
Target locked Attribute
An optional attribute has been added to the <target/> element called locked. This is a Boolean value that, when true, forces the target to only be executed by one thread at a time.
WARNING: Do not use this attribute on targets that could possibly end up calling themselves as this will cause a deadlock.
In the above example, calling the build target would result in the critical target being called twice sequentially. rather than in parallel, despite it being in the <parallel> task.