K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-01-27T02:32:07.068429Z K 7 svn:log V 136 In cpu_switch(), use an atomic operation to set the td_lock of the old thread to the mutex that's passed. Pointed out by: attilio, jhb END