Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #10712

Re: System.exit

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.nobody.at!texta.sil.at!newscore.univie.ac.at!aconews-feed.univie.ac.at!aconews.univie.ac.at!not-for-mail
Newsgroups comp.lang.java.programmer
From Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at>
Subject Re: System.exit
References <9d7fe75jrjv74ksjprrmdca7mp8hb0sflh@4ax.com>
Reply-To avl@logic.at
User-Agent slrn/pre0.9.9-111 (Linux)
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
Message-ID <slrnjefi0u.fvg.avl@gamma.logic.tuwien.ac.at> (permalink)
Date 13 Dec 2011 21:48:15 GMT
Lines 8
NNTP-Posting-Host gamma.logic.tuwien.ac.at
X-Trace 1323812895 tunews.univie.ac.at 60386 128.130.175.3
X-Complaints-To abuse@tuwien.ac.at
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:10712

Show key headers only | View raw


Roedy Green <see_website@mindprod.com.invalid> wrote:
> The docs say System.exit terminates the current JVM.  But it seems
> that when you have other threads executing, they keep on going.

Are you sure you really do System.exit(), rather than just
returning from the main() method?   In the latter case, all 
those threads *not* marked as daemon threads keep running.

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

System.exit Roedy Green <see_website@mindprod.com.invalid> - 2011-12-13 10:48 -0800
  Re: System.exit Eric Sosman <esosman@ieee-dot-org.invalid> - 2011-12-13 14:59 -0500
  Re: System.exit Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-12-13 21:48 +0000
    Re: System.exit Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2011-12-13 14:14 -0800
      Re: System.exit Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-12-14 00:01 +0000
        Re: System.exit markspace <-@.> - 2011-12-13 16:03 -0800
          Re: System.exit Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-12-14 00:13 +0000
    Re: System.exit Roedy Green <see_website@mindprod.com.invalid> - 2011-12-13 16:53 -0800
      Re: System.exit Eric Sosman <esosman@ieee-dot-org.invalid> - 2011-12-13 20:02 -0500
        Re: System.exit Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2011-12-13 17:51 -0800
        Re: System.exit Roedy Green <see_website@mindprod.com.invalid> - 2011-12-14 09:38 -0800
  Re: System.exit Paul Cager <paul.cager@googlemail.com> - 2011-12-14 02:09 -0800

csiph-web