~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/thr_rwlock.c

  • Committer: Brian Aker
  • Date: 2008-07-07 14:25:25 UTC
  • mto: (77.1.25 codestyle)
  • mto: This revision was merged to the branch mainline in revision 82.
  • Revision ID: brian@tangent.org-20080707142525-xzy2nl3ie2ebwfln
LL() cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
145
145
 
146
146
int my_rw_unlock(rw_lock_t *rwp)
147
147
{
 
148
  DBUG_PRINT("rw_unlock",
 
149
             ("state: %d waiters: %d", rwp->state, rwp->waiters));
148
150
  pthread_mutex_lock(&rwp->lock);
149
151
 
150
152
  if (rwp->state == -1)         /* writer releasing */