equal
deleted
inserted
replaced
101 self.mutex.release() |
101 self.mutex.release() |
102 |
102 |
103 if _job.success: |
103 if _job.success: |
104 return _job.result |
104 return _job.result |
105 else: |
105 else: |
106 raise _job.exc_info[0], _job.exc_info[1], _job.exc_info[2] |
106 exc_type = _job.exc_info[0] |
|
107 exc_value = _job.exc_info[1] |
|
108 exc_traceback = _job.exc_info[2] |
|
109 six.reraise(exc_type, exc_value, exc_traceback) |
107 |
110 |
108 def quit(self): |
111 def quit(self): |
109 """ |
112 """ |
110 unblocks main thread, and terminate execution of runloop() |
113 unblocks main thread, and terminate execution of runloop() |
111 """ |
114 """ |