You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Roger Whitcomb (JIRA)" <ji...@apache.org> on 2017/12/15 21:52:00 UTC

[jira] [Commented] (PIVOT-1009) Improve Task to be able to tell what the background Thread that was used to execute it

    [ https://issues.apache.org/jira/browse/PIVOT-1009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16293308#comment-16293308 ] 

Roger Whitcomb commented on PIVOT-1009:
---------------------------------------

Not sure what else to do for this issue.  Suggestions?

> 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)