K 10 svn:author V 2 mm K 8 svn:date V 27 2010-12-14T15:33:59.678295Z K 7 svn:log V 472 MFC r210044, r214622: MFC r210044 (pjd): MFp4 180933: Initialize rw_count properly so that zdb(8) doesn't trigger assertion in rw_enter(): ASSERT(rwlp->rw_count == 0); While here, assert that rw_count is 0 when destroying the lock. MFC r214622 (pjd): 1. Remove invalid assertion. 2. Properly recalculate delta in case pthread_cond_timedwait() is interrupted. 3. Style fix. Reported by: [1] App Deb Approved by: re (kib), pjd, delphij (mentor) END