Hi
What I want to do is for using with a PDA, but I think it's a VB.NET
related question, so I ask it here.
It's simple, an user is working with the pda, and from while to while,
has to send data to a server via webservice.
As the process to the webservice can take many seconds, and the user
has to continue working, I thought to send the process in a diferent
thread, and warn the user when it has finished. The problem is that the
user can send other process to the webservice while the first is still
running. What I'm interested is in creating a queue of threads, and
don't let execute the next thread until the previous has finished.
Also I'm not interested in treating this with only SyncLock to prevent
two threads to enter the same time to the process, because I want to
execute the threads in the order I throw them, and I think that with
this only prevention, the threads can execute in the order the computer
determines...
Any idea?
Thanks