jqueue: Update worker thread name to include opcode summary
authorMichael Hanselmann <hansmi@google.com>
Mon, 9 May 2011 15:14:20 +0000 (17:14 +0200)
committerMichael Hanselmann <hansmi@google.com>
Tue, 10 May 2011 15:32:49 +0000 (17:32 +0200)
commit0aeeb6e3416ef1289cf86235ca6e914658dd5cc5
tree6bb23d1e10592d9a8f211fa95bd1fd6a1b7e4c5a
parentff8ab07e6efd80535cf14e721daa4f23727164fb
jqueue: Update worker thread name to include opcode summary

With this patch, the worker thread name is updated to include a short
summary of the opcode (basically its OP_ID). The base name of job queue
threads is shortened from “JobQueue” to “Jq”. Logs and the lock monitor
will show a job verifying the cluster as e.g. “Jq2/Job1742/C_VERIFY”.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
lib/jqueue.py