Hi List !
I am still stuck in developing a large file upload framework (I will publish it asa it is released!).
Here is my question :
Is there a way to choose the WorkerThread you use? or to notify that you want to check that the current one is not actually used by another request? Is there a way to put a page reloading in a seperate thread?
Quick description of why I ask such a question: when you want to upload a file in my application, two portions of code begin to run concurrently : - one to manage the upload itself - an other to refresh the progress bar
But currently I have a nasty problem : the refreshing of the progress page uses the same WorkerThread as the upload... though many other thread are "free" And also when you want to upload several files at the same time, again, a thread already used by another upload tries to be accessed and therefore the last upload has to wait for the first one to finish. But if you try to navigate in the application during the upload, it works fine and it "seems" that the WorkerThread of the upload is never attempted to be used. So, why does the reload of the progress bar tries to use the same WorkerThread ?
Regards
Fabrice Pipart
www.icconsulting.mc
International Corporate Consulting 25, Boulevard de Belgique MC - 98000 Monaco
T. +377 97982104 (direct) F. +377 97708807
|