> template <typename T>
> void EntityUpdateBuffer<T>::push_back( const T& value )
> {
> // how to acquire a write lock?
>
> m_buffer.push_back(value);
> }
>
> template <typename T>
> const T& EntityUpdateBuffer<T>::at( int index ) const
> {
> // how to acquire read lock?
>
> return m_buffer.at(index);
> }