Processor: Move LU execution to its own method
authorGuido Trotter <ultrotter@google.com>
Tue, 8 Jul 2008 16:31:41 +0000 (16:31 +0000)
committerGuido Trotter <ultrotter@google.com>
Tue, 8 Jul 2008 16:31:41 +0000 (16:31 +0000)
commit36c381d7045383280c76903f255ddcf601d52b15
tree08c8acfffec594b7b03154f842b8f4deb8c320a9
parent2e1d6d96bf251a48d60966eaa9cfedb00ee393d6
Processor: Move LU execution to its own method

This makes the try...finally code simplier, and helps adding a more
complex locking structure before the actual execution. It also fixes a
concurrency bug caused by the fact that write_count was read before
acquiring the BGL, and thus spurious config update hooks run could have
been triggered. This doesn't solve the issue of running config update
hooks for concurrent LUs.

Reviewed-by: iustinp
lib/mcpu.py