~vkolesnikov/pbxt/pbxt-preload-test-bug

« back to all changes in this revision

Viewing changes to src/ha_pbxt.cc

  • Committer: Vladimir Kolesnikov
  • Date: 2009-01-21 13:55:57 UTC
  • mto: This revision was merged to the branch mainline in revision 533.
  • Revision ID: vladimir@primebase.org-20090121135557-gyzk4wo3kj126jda
added thread lock lists

Show diffs side-by-side

added added

removed removed

Lines of Context:
1028
1028
        if (!pbxt_inited) {
1029
1029
                XTThreadPtr self = NULL;
1030
1030
 
1031
 
                xt_p_mutex_init(&pbxt_database_mutex, NULL);
 
1031
                xt_p_mutex_init_with_autoname(&pbxt_database_mutex, NULL);
1032
1032
 
1033
1033
                pbxt_hton = (handlerton *) p;
1034
1034
                pbxt_hton->state = SHOW_OPTION_YES;