~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/atomics.h

  • Committer: Monty Taylor
  • Date: 2009-03-30 17:37:38 UTC
  • mto: (971.1.10 mordred)
  • mto: This revision was merged to the branch mainline in revision 970.
  • Revision ID: mordred@inaugust.com-20090330173738-d3ha1sapl2zfryum
Add decl for atomic<bool>

Show diffs side-by-side

added added

removed removed

Lines of Context:
155
155
__TBB_DECL_ATOMIC(char)
156
156
__TBB_DECL_ATOMIC(signed char)
157
157
__TBB_DECL_ATOMIC(unsigned char)
 
158
__TBB_DECL_ATOMIC(bool)
158
159
 
159
160
/* 32-bit platforms don't have a GCC atomic operation for 64-bit types,
160
161
 * so we'll use pthread locks to handler 64-bit types on that platforms