Z
Zeng
Hello,
Is there a way to pass something to the StartProc below for each new thread
that I create? Something like 'code' below. Thanks for any comment or
advice!
static void StartProc( int code )
{
if( code > 0 )
{
// do something
}
}
Thread t = new Thread( new ThreadStart(StartProc));
t.Start();
Is there a way to pass something to the StartProc below for each new thread
that I create? Something like 'code' below. Thanks for any comment or
advice!
static void StartProc( int code )
{
if( code > 0 )
{
// do something
}
}
Thread t = new Thread( new ThreadStart(StartProc));
t.Start();