Lorenzo Fiorini wrote:
>
> Following the CL5 guidelines I've heavily used module wide static vars
> and set/get functions to access them but in a MT statics are difficult
> to share so the idea ...
>
Static variable as declared as STATIC are shared among threads.
Static variables declared as THREAD STATIC have thread wide scope.
I simply use both notations to distinguish the usage.
Przemek will shed more light on this topic, for sure.
-----
enjoy hbIDEing...
Pritpal Bedi
_a_student_of_software_analysis_&_design_
--
View this message in context:
http://n2.nabble.com/MT-statics-vs-public-tp4697551p4697740.html
Sent from the harbour-devel mailing list archive at Nabble.com.
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour