~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/archive/azio.cc

  • Committer: Brian Aker
  • Date: 2010-08-10 01:34:18 UTC
  • mto: This revision was merged to the branch mainline in revision 1703.
  • Revision ID: brian@gaz-20100810013418-lcyhyrx5elzuvjmn
Encapsulate the internal share for HEAP.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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