~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/archive/concurrency_test.cc

  • Committer: Monty Taylor
  • Date: 2009-03-31 07:57:46 UTC
  • mto: (971.1.10 mordred)
  • mto: This revision was merged to the branch mainline in revision 971.
  • Revision ID: mordred@inaugust.com-20090331075746-7filp1zeagjgwuzm
Removed references to stdbool, since they aren't valid in c++. Added them in C where we need them. Made archive tests c++.

Show diffs side-by-side

added added

removed removed

Lines of Context:
78
78
int main(int argc, char *argv[])
79
79
{
80
80
 
81
 
  az_method method;
 
81
  unsigned int method;
82
82
  my_init();
83
83
 
84
84
  MY_INIT(argv[0]);
97
97
  pthread_mutex_init(&row_lock, NULL);
98
98
 
99
99
  for (method= AZ_METHOD_BLOCK; method < AZ_METHOD_MAX; method++)
100
 
    scheduler(method);
 
100
    scheduler((az_method)method);
101
101
 
102
102
  (void)pthread_mutex_destroy(&counter_mutex);
103
103
  (void)pthread_cond_destroy(&count_threshhold);