~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/atomic/pthread_traits.h

  • Committer: Monty Taylor
  • Date: 2010-06-01 20:35:25 UTC
  • mfrom: (1578.1.5 build)
  • Revision ID: mordred@inaugust.com-20100601203525-klt550a0q0e81qq2
Merged in pthread atomics unittests and archive_reader
boost::program_options, with build fixes for solaris.

Show diffs side-by-side

added added

removed removed

Lines of Context:
89
89
  {
90
90
    my_lock.lock();
91
91
    value_type ret= *value;
92
 
    *value++;
 
92
    (*value)++;
93
93
    my_lock.unlock();
94
94
    return ret;
95
95
  }
98
98
  {
99
99
    my_lock.lock();
100
100
    value_type ret= *value;
101
 
    *value--;
 
101
    (*value)--;
102
102
    my_lock.unlock();
103
103
    return ret;
104
104
  }