~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/archive/azio.cc

  • Committer: Stewart Smith
  • Date: 2010-06-16 14:17:58 UTC
  • mto: (1626.1.3 build)
  • mto: This revision was merged to the branch mainline in revision 1633.
  • Revision ID: stewart@flamingspork.com-20100616141758-odpf36m0wo09ok4c
add handler_write status variable test for when statement was rolled back

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 
12
12
/* @(#) $Id$ */
13
13
 
14
 
#include <config.h>
 
14
#include "config.h"
15
15
 
16
16
#include "azio.h"
17
17
 
52
52
  size_t offset;
53
53
  azio_stream *s= (azio_stream *)p;
54
54
 
 
55
  internal::my_thread_init();
 
56
 
55
57
  while (1)
56
58
  {
57
59
    pthread_mutex_lock(&s->container.thresh_mutex);
75
77
    pthread_mutex_unlock(&s->container.thresh_mutex);
76
78
  }
77
79
 
 
80
  internal::my_thread_end();
 
81
 
78
82
  return 0;
79
83
}
80
84