suspending threads


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: suspending threads

Hybrid View

  1. #1
    Hemant Guest

    suspending threads


    I need to run several threads concurrently, until any or several of these
    threads may display a dialog for user to enter data. When a dialog is displayed
    that thread which shows the dialog is to be suspended till the user has closed
    the dialog. I do not want the dialogs to be defined modal because so that
    the user may interact with several of these dialogs opened by different threads,
    or also the parent window. How can I achieve this?



  2. #2
    Christian Yungk Guest

    Re: suspending threads


    Create a thread manager to handle all of the various threads. When a particular
    thread creates a semi-modal dialog box, have it suspend itself and register
    the dialog box listeners with the thread manager. If the dialog box is closed,
    have the thread manager reactivate the owning thread.

    "Hemant" <hemant_100@flashmail.com> wrote:
    >
    >I need to run several threads concurrently, until any or several of these
    >threads may display a dialog for user to enter data. When a dialog is displayed
    >that thread which shows the dialog is to be suspended till the user has

    closed
    >the dialog. I do not want the dialogs to be defined modal because so that
    >the user may interact with several of these dialogs opened by different

    threads,
    >or also the parent window. How can I achieve this?
    >
    >



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center