~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/locking/global.cc

  • Committer: Brian Aker
  • Date: 2010-11-08 18:24:58 UTC
  • mto: (1921.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 1916.
  • Revision ID: brian@tangent.org-20101108182458-twv4hyix43ojno80
Merge in changes such that lock is now broken out into its own directory.

Show diffs side-by-side

added added

removed removed

Lines of Context:
716
716
  if (table)
717
717
  {
718
718
    table::remove_table(static_cast<table::Concurrent *>(table));
719
 
    broadcast_refresh();
 
719
    locking::broadcast_refresh();
720
720
  }
721
721
}
722
722
 
869
869
    table_iter->unlock_table_name();
870
870
  }
871
871
 
872
 
  broadcast_refresh();
 
872
  locking::broadcast_refresh();
873
873
}
874
874
 
875
875
 
1176
1176
    handling, it is not necessary to also signal COND_refresh.
1177
1177
*/
1178
1178
 
 
1179
namespace locking {
 
1180
 
1179
1181
void broadcast_refresh(void)
1180
1182
{
1181
1183
  COND_refresh.notify_all();
1182
1184
  COND_global_read_lock.notify_all();
1183
1185
}
1184
1186
 
 
1187
}
 
1188
 
1185
1189
 
1186
1190
/**
1187
1191
  @} (end of group Locking)