B
Bharathi kumar
Hi,
Iam working in windows appln using .NET framework 2.0.
My application is having several threads running.
All threads can call a common method.
I have following code in my common method.
Threading.ThreadPool.QueueUserWorkItem(New Threading.WaitCallback(
_
AddressOf MyFunction))
When I call the common method, its executing "MyFunction" twice.
I want the "MyFunction" to execute only once.
Any suggestions please.
Regards,
Bharathi Kumar
Iam working in windows appln using .NET framework 2.0.
My application is having several threads running.
All threads can call a common method.
I have following code in my common method.
Threading.ThreadPool.QueueUserWorkItem(New Threading.WaitCallback(
_
AddressOf MyFunction))
When I call the common method, its executing "MyFunction" twice.
I want the "MyFunction" to execute only once.
Any suggestions please.
Regards,
Bharathi Kumar