~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/atomics.h

  • Committer: Brian Aker
  • Date: 2009-08-06 15:04:21 UTC
  • mfrom: (1093.1.52 captain)
  • Revision ID: brian@gaz-20090806150421-w8yrasl1m8exorxs
Merge Jay

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#ifndef DRIZZLED_ATOMICS_H
22
22
#define DRIZZLED_ATOMICS_H
23
23
 
24
 
#if defined(HAVE_LIBTBB)
25
 
# include <tbb/atomic.h>
26
 
/* We're actually using the TBB interface directly, but we don't want to tie
27
 
 * the code to a specific implementation. So suck the tbb:: stuff into the
28
 
 * drizzled namespace
29
 
 */
30
 
namespace drizzled {
31
 
  using namespace tbb;
32
 
}
33
 
#else
34
 
 
35
24
# if defined(__SUNPRO_CC)
36
25
#  include <drizzled/atomic/sun_studio.h>
37
26
# endif
185
174
#  endif
186
175
 
187
176
}
188
 
# endif /* defined(HAVE_LIBTBB) */
189
177
 
190
178
#endif /* DRIZZLED_ATOMIC_H */