Queue of Threads



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

.



Relevant Pages

  • Re: Queue of Threads
    ... Jordi Rico wrote: ... > What I want to do is for using with a PDA, but I think it's a VB.NET ... > related question, ... > has to send data to a server via webservice. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Starting exe from WebService
    ... I need to execute the program through the webservice ... WebService because the program is complicated and I don't ... WinForm app is getting ... >Why do you want a WebMethod to launch a WinForm on the ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: .net cf & webservices
    ... a webservice on the PDA it should have the same session id? ... the webservice instance is the same all thats ... > instance of Internet explorer from your start menu ie. Internet explorer ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Asynchronous Web Service Call
    ... & b) It will execute within a thread from the standard system ... Conversation: Asynchronous Web Service Call ... We want to call a webservice asynchronously by a .net soap proxy ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: Weather Service Webservice Issues
    ... Patrick ... > We have been using the the National Weather Service ... and can't get the webservice to ... > execute from my asp.net application will it does execute from other ...
    (microsoft.public.dotnet.framework.aspnet)

Loading