Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-1162

Make the AlarmClock use a daemon thread.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Jena 3.0.1
    • Jena 3.1.0
    • None
    • None

    Description

      AlarmClock can block VM exit.

        AlarmClock ac = AlarmClock.get() ;
        Alarm a = ac.add(()->{}, 1) ;
        a.future.get();
      

      This creates the single thread but it is not a daemon thread.

      Attachments

        Activity

          People

            andy Andy Seaborne
            andy Andy Seaborne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: