K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-11-05T00:07:56.023194Z K 7 svn:log V 257 Merge condition variable work from previous work from libthr.user_requeue. if the current thread is using the simple mutex, use userlevel cv, otherwise use kernel based cv. userlevel cv is fast. may there are other cases, thread should use kernel based cv. END