Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
ab.ThreadWithException Class Reference
Inheritance diagram for ab.ThreadWithException:

Public Member Functions

def __init__ (self, target)
 
def run (self)
 
def join (self, timeout=None)
 

Public Attributes

 exception
 

Detailed Description

Definition at line 130 of file ab.py.

Constructor & Destructor Documentation

◆ __init__()

def ab.ThreadWithException.__init__ (   self,
  target 
)

Definition at line 131 of file ab.py.

131 def __init__(self, target):
132 super(ThreadWithException, self).__init__(target = target)
133 self.exception = None
134

Member Function Documentation

◆ join()

def ab.ThreadWithException.join (   self,
  timeout = None 
)

Definition at line 141 of file ab.py.

141 def join(self, timeout=None):
142 super(ThreadWithException, self).join(timeout)
143
144
static SkString join(const CommandLineFlags::StringArray &)
Definition: skpbench.cpp:741

◆ run()

def ab.ThreadWithException.run (   self)

Definition at line 135 of file ab.py.

135 def run(self):
136 try:
137 self._Thread__target(*self._Thread__args, **self._Thread__kwargs)
138 except BaseException as e:
139 self.exception = e
140
def run(args, threadRunner, name, nano, arg, i)
Definition: ab.py:208

Member Data Documentation

◆ exception

ab.ThreadWithException.exception

Definition at line 133 of file ab.py.


The documentation for this class was generated from the following file: