Richard
Tue Mar 22 05:40:45 CST 2005
Do you mean how do I get hold of the current thread?
Thread.CurrentThread
Do you mean how do I pass parameters into a thread?
http://www.yoda.arachsys.com/csharp/threads/parameters.shtml
Also in version 2.0 there is a new thread constructor which takes a ParameterizedThreadStart delegate instance
Regards
Richard Blewett - DevelopMentor
http://www.dotnetconsult.co.uk/weblog
http://www.dotnetconsult.co.uk
Hi!
How i pass variables into threads?
For example:
Dim t1 As New Thread(AddressOf CfgInject)
Dim t2 As New Thread(AddressOf CfgInject)
t1.start
t2.start
Cfginject, can be called n times, i need to now inside the function what is
the current thread...