This is Unofficial EPICS BASE Doxygen Site
boost::detail::spinlock_pool< I > Class Template Reference

#include "spinlock_pool.hpp"

Classes

class  scoped_lock
 

Static Public Member Functions

static spinlockspinlock_for (void const *pv)
 

Detailed Description

template<int I>
class boost::detail::spinlock_pool< I >

Definition at line 34 of file spinlock_pool.hpp.

Member Function Documentation

template<int I>
static spinlock& boost::detail::spinlock_pool< I >::spinlock_for ( void const *  pv)
inlinestatic

Definition at line 42 of file spinlock_pool.hpp.

43  {
44 #if defined(__VMS) && __INITIAL_POINTER_SIZE == 64
45  std::size_t i = reinterpret_cast< unsigned long long >( pv ) % 41;
46 #else
47  std::size_t i = reinterpret_cast< std::size_t >( pv ) % 41;
48 #endif
49  return pool_[ i ];
50  }
int i
Definition: scan.c:967
Definition: tool_lib.h:67

The documentation for this class was generated from the following file: