~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/archive/concurrency_test.c

  • Committer: Monty Taylor
  • Date: 2008-09-23 14:19:48 UTC
  • mto: This revision was merged to the branch mainline in revision 419.
  • Revision ID: monty@inaugust.com-20080923141948-ktph2kg13addaxq1
Actually removed VOID() this time.

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
  pthread_cond_init(&count_threshhold, NULL);
94
94
  pthread_mutex_init(&sleeper_mutex, NULL);
95
95
  pthread_cond_init(&sleep_threshhold, NULL);
96
 
  VOID(pthread_mutex_init(&timer_alarm_mutex, NULL));
97
 
  VOID(pthread_cond_init(&timer_alarm_threshold, NULL));
98
 
  VOID(pthread_mutex_init(&row_lock, NULL));
 
96
  pthread_mutex_init(&timer_alarm_mutex, NULL);
 
97
  pthread_cond_init(&timer_alarm_threshold, NULL);
 
98
  pthread_mutex_init(&row_lock, NULL);
99
99
 
100
100
  for (method= AZ_METHOD_BLOCK; method < AZ_METHOD_MAX; method++)
101
101
    scheduler(method);
104
104
  (void)pthread_cond_destroy(&count_threshhold);
105
105
  (void)pthread_mutex_destroy(&sleeper_mutex);
106
106
  (void)pthread_cond_destroy(&sleep_threshhold);
107
 
  VOID(pthread_mutex_destroy(&timer_alarm_mutex));
108
 
  VOID(pthread_cond_destroy(&timer_alarm_threshold));
109
 
  VOID(pthread_mutex_destroy(&row_lock));
 
107
  pthread_mutex_destroy(&timer_alarm_mutex);
 
108
  pthread_cond_destroy(&timer_alarm_threshold);
 
109
  pthread_mutex_destroy(&row_lock);
110
110
 
111
111
  return 0;
112
112
}