Revision 66d895a8
b/lib/jqueue.py | ||
---|---|---|
80 | 80 |
@ivar stop_timestamp: timestamp for the end of the execution |
81 | 81 |
|
82 | 82 |
""" |
83 |
__slots__ = ["input", "status", "result", "log", |
|
84 |
"start_timestamp", "end_timestamp", |
|
85 |
"__weakref__"] |
|
86 |
|
|
83 | 87 |
def __init__(self, op): |
84 | 88 |
"""Constructor for the _QuededOpCode. |
85 | 89 |
|
... | ... | |
152 | 156 |
@ivar change: a Condition variable we use for waiting for job changes |
153 | 157 |
|
154 | 158 |
""" |
159 |
__slots__ = ["queue", "id", "ops", "run_op_index", "log_serial", |
|
160 |
"received_timestamp", "start_timestamp", "end_timestamp", |
|
161 |
"change", |
|
162 |
"__weakref__"] |
|
163 |
|
|
155 | 164 |
def __init__(self, queue, job_id, ops): |
156 | 165 |
"""Constructor for the _QueuedJob. |
157 | 166 |
|
Also available in: Unified diff