pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roger Whitcomb (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PIVOT-1009) Improve Task to be able to tell what the background Thread that was used to execute it
Date Thu, 05 Oct 2017 22:32:00 GMT
Roger Whitcomb created PIVOT-1009:
-------------------------------------

             Summary: Improve Task to be able to tell what the background Thread that was
used to execute it
                 Key: PIVOT-1009
                 URL: https://issues.apache.org/jira/browse/PIVOT-1009
             Project: Pivot
          Issue Type: Improvement
          Components: core-beans, wtk
         Environment: All
            Reporter: Roger Whitcomb
            Assignee: Roger Whitcomb
            Priority: Minor
             Fix For: 2.1


The idea is that Tasks are generally run on a background thread, but we don't usually know
what that thread was.  There should be a field inside the Task class that keeps a weak reference
to the thread ("weak" so it doesn't hold up garbage collection).  That way any errors caught
during the task execution can actually report the thread that was used.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message