469,127 Members | 1,425 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,127 developers. It's quick & easy.

ThreadPool

Hi all

I have 2 threads, T1 and T1

Private Sub Button1_Click

Dim T1 As Thread = New System.Threading.Thread(AddressOf MyThreadTest)

Dim T2 As Thread = New Thread(AddressOf MyThreadLoad)

End sub


Public Sub MyThreadLoad()
'/// Some operation
End Sub

Public Sub MyThreadTest()
'///some operation
End Sub

In button click I need to keep T1 And T2 in a Thread Pool.

Please tell me how to do this...

Regards
Shivaraj
Jun 26 '06 #1
2 1537
Banfa
9,061 Expert Mod 8TB
Look at

http://msdn2.microsoft.com/en-us/lib...hreadpool.aspx
Jun 27 '06 #2
Hi Banfa,
Thank you,

Regards
shiv
Jun 27 '06 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

5 posts views Thread by Dan Battagin | last post: by
5 posts views Thread by Duane Pressley | last post: by
6 posts views Thread by Max Adams | last post: by
1 post views Thread by doudou-shen | last post: by
10 posts views Thread by Lenn | last post: by
5 posts views Thread by =?Utf-8?B?RkxEYXZlTQ==?= | last post: by
3 posts views Thread by UltimateBanoffee | last post: by
7 posts views Thread by =?Utf-8?B?cmJEZXZlbG9wZXI=?= | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by Mortomer39 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.