C
Chris Calzaretta
Hello
Working with system.threading.thread
Ok
I have an windows user control. It has 3 thread on it
thread 1 uploaded files types a
thread 2 upload files types b
thread 3 upload files types c
this all happens at same time Works great
Now i put a tab control on my form
i create 5 instances of my windows user control.
which allows me to have 5 different controls working at the same time
Now i start all controls to upload. after each upload the thread sleeps
depending on which tab it is on. There was a speed issue with the
application moving faster then the upload so I had to pause the thread
So My Problem is
system.invalidoperationexecption
there were not enough free threads in the threadpool
question 1:
how meny threads do you get to work with
question 2:
can you change the max number of threads in the pool
Thanks
Chris
Working with system.threading.thread
Ok
I have an windows user control. It has 3 thread on it
thread 1 uploaded files types a
thread 2 upload files types b
thread 3 upload files types c
this all happens at same time Works great
Now i put a tab control on my form
i create 5 instances of my windows user control.
which allows me to have 5 different controls working at the same time
Now i start all controls to upload. after each upload the thread sleeps
depending on which tab it is on. There was a speed issue with the
application moving faster then the upload so I had to pause the thread
So My Problem is
system.invalidoperationexecption
there were not enough free threads in the threadpool
question 1:
how meny threads do you get to work with
question 2:
can you change the max number of threads in the pool
Thanks
Chris