Hi,
Is there a way to pass a parameter to a thread ?
Creating a thread is done using a ThreadStart-delegate object
example :
Thread thread1 = new Thread(new ThreadStart(MyF unction))
Unfortunately, it doesn't allow me to pass arguments to MyFunction since the definition of the ThreadStart is :
public delegate void ThreadStart();
Is there a way, anyhow, to pass a parameter to a thread ?
Using some other mechanism ?
thnx
Christian
*************** *************** *************** *************** **********
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...