~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/status_dictionary/status.cc

Convert LOCK_global_system_variables to boost.

Show diffs side-by-side

added added

removed removed

Lines of Context:
95
95
  std::ostringstream oss;
96
96
  std::string return_value;
97
97
 
98
 
  pthread_mutex_lock(&LOCK_global_system_variables);
 
98
  LOCK_global_system_variables.lock();
99
99
 
100
100
  if (show_type == SHOW_SYS)
101
101
  {
106
106
 
107
107
  return_value= StatusHelper::fillHelper(NULL, value, show_type); 
108
108
 
109
 
  pthread_mutex_unlock(&LOCK_global_system_variables);
 
109
  LOCK_global_system_variables.unlock();
110
110
  push(name);
111
111
  if (return_value.length())
112
112
    push(return_value);