In case of Multithreding if exception arises in one thread what will be the state of


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: In case of Multithreding if exception arises in one thread what will be the state of

  1. #1
    Join Date
    Mar 2006
    Posts
    3

    In case of Multithreding if exception arises in one thread what will be the state of

    Hi all,

    In case of multithreading if an exception arised in one thread what will be the state of the other threads and the thread in which the exception arised.

    thanks,
    raj

  2. #2
    Join Date
    Oct 2004
    Posts
    311
    Unless the Exception causes a data object to become corrupt which is used in multiple threads (like a queue for example) Exceptions shouold noit influence other threads that the one they occur in.
    The state of the other threads therefor should not change. The state of the current thread where the exception occurs depends on the kind of exception and how you handle it.

Similar Threads

  1. Getting a thread to throw an exception
    By jjamesis in forum Java
    Replies: 4
    Last Post: 04-02-2007, 05:37 PM
  2. Why is this in the console?
    By Dark Rain in forum Java
    Replies: 8
    Last Post: 09-30-2005, 06:42 PM
  3. Run-time error by a blank record made by code
    By VanDam in forum Database
    Replies: 0
    Last Post: 07-09-2005, 04:18 AM
  4. Java applet to VB
    By Maurice in forum Java
    Replies: 0
    Last Post: 02-11-2003, 01:10 AM
  5. ADOX problem
    By Yoel Martinez in forum VB Classic
    Replies: 1
    Last Post: 12-12-2000, 03:17 PM

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