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] [Updated] (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:53:00 GMT

     [ https://issues.apache.org/jira/browse/PIVOT-1009?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Roger Whitcomb updated PIVOT-1009:
----------------------------------
    Attachment: 1009.patch

File "1009.patch" is what was implemented by the commit.

> 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
>
>         Attachments: 1009.patch
>
>
> 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