K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-03-02T02:57:10.591716Z K 7 svn:log V 202 Wrap the scan code state change stuff behind ATH_LOCK and the PCU fiddling behind the PCU lock. sc_scanning is being checked without ATH_LOCK behind held and could in theory run from multiple threads. END