~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/atomic/pthread_traits.h

  • Committer: Monty Taylor
  • Date: 2009-12-27 06:31:41 UTC
  • mfrom: (1241.16.2 fix-gcc-warnings)
  • mto: This revision was merged to the branch mainline in revision 1258.
  • Revision ID: mordred@inaugust.com-20091227063141-p9dw8271qjvb98qe
Some GCC warnings fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
  pthread_mutex_t the_mutex;
32
32
  bool locked;
33
33
public:
34
 
  mutex_wrapper(void): locked(false)
 
34
  mutex_wrapper(void)
 
35
   : the_mutex(),
 
36
     locked(false)
35
37
  {
36
 
    locked= false;
37
38
    (void) pthread_mutex_init(&the_mutex,  NULL);
38
39
  }
39
40
  ~mutex_wrapper(void)