droidman
Member
- Joined
- Apr 4, 2011
- Messages
- 5
- Programming Experience
- 3-5
hi, i need to create multiple threads to improve a function on my program. it is a simple thing really but it's slow and if multithreaded it can improve the speed some thousand times.
my program uses a dll to check the MX record of an e-mail from a textbox called emails
if the mx record is correct then it validates that domain, if not, it sends to an error textbox with that mail
my problem is that im reading a lot on multithreading and i dont have an idea how to make something like this:
for x=0 to emails.lines.count -1
' start a thread that runs my function
next
if i can limit the number of threads to avoid crashing it would be good.
and that's pretty much it.
help?
thanks in advance :smile:
my program uses a dll to check the MX record of an e-mail from a textbox called emails
if the mx record is correct then it validates that domain, if not, it sends to an error textbox with that mail
my problem is that im reading a lot on multithreading and i dont have an idea how to make something like this:
for x=0 to emails.lines.count -1
' start a thread that runs my function
next
if i can limit the number of threads to avoid crashing it would be good.
and that's pretty much it.
help?
thanks in advance :smile: