Pass Paramaeters in a thread

muralik

Newcomer
Joined
Jun 14, 2003
Messages
5
Hello,

How to pass more than one value in a ThreadStart delegate (which belongs to the same class,
i.e, initialization of thread and the function tried to called from thread belongs to the same class)
If no, is there any other way to do it.

My requirement:
I have more than one company which individually has more than 100 email-ids.
For each company I am creating a new thread and writing email-ids in a log file.

The log file should have all emails belong to all the companies:
Company 1 aaa1@bbb.com
Company 1 abb2@bbb.com
Company 2 cccc3@bbb.com
Company 2 dddd3@bbb.com
Company 2 aaa1@bbb.com
Company 3 aaa1@bbb.com
Company 1 fff1@bbb.com
Company 3 aaa1@bbb.com
Company 2 ggg1@bbb.com and goes on.

Plz help me.

Murali.
 
Back
Top