Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-1009

Improve Task to be able to tell what the background Thread that was used to execute it

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1
    • Component/s: core-beans, wtk
    • Labels:
      None
    • Environment:
      All

      Description

      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.

        Attachments

        1. 1009.patch
          5 kB
          Roger Whitcomb

          Activity

            People

            • Assignee:
              rwhitcomb Roger Whitcomb
              Reporter:
              rwhitcomb Roger Whitcomb
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: