WARN25-Bad thread-local variables

Top  Previous  Next

 

This is a list of all thread-local variables (declared with the “threadvar” keyword) with bad declarations. Reference-counted variables (such as long strings, dynamic arrays, or interfaces) are not thread-safe and should not be declared with “threadvar”. Also, do not create pointer- or procedural-type thread variables.

 

Example:

 

clip0081

 

 

See also:

 

Alerts