J
Jan
Hi Group,
are there any issues I should be aware of when executing a thread on an
*instance* method as opposed to a *static* method?
My code samples seems to work fine, and theoretically using an instance
method should be better, since there will be less code pieces contending for
the ressources. However I can imagine all kinds of weird stuff going on
underneath that I am unaware of.
(The reason I'm using an instance method is to access instance specific
information as per:
http://msdn2.microsoft.com/en-us/library/ts553s52(VS.80).aspx)
(The reason I'm asking this question is that I have found 100+ samples using
static methods and only one using an instance method, and this makes me
nerveous)
Kind Regards
Jan
are there any issues I should be aware of when executing a thread on an
*instance* method as opposed to a *static* method?
My code samples seems to work fine, and theoretically using an instance
method should be better, since there will be less code pieces contending for
the ressources. However I can imagine all kinds of weird stuff going on
underneath that I am unaware of.
(The reason I'm using an instance method is to access instance specific
information as per:
http://msdn2.microsoft.com/en-us/library/ts553s52(VS.80).aspx)
(The reason I'm asking this question is that I have found 100+ samples using
static methods and only one using an instance method, and this makes me
nerveous)
Kind Regards
Jan