Lines Matching refs:M
29 template <typename M>
31 using mutex_type = M;
33 M mutex;
52 template <typename M, long N>
54 using mutex_type = M;
56 M mutex;
170 template <typename M>
172 Counter<M> counter; in test_basic()
175 utils::NativeParallelFor(nthread, Work<Counter<M>, TEST_SIZE>(counter)); in test_basic()
180 template <typename M>
182 Invariant<M, 8> invariant; in test_rw_basic()
185 utils::NativeParallelFor(nthread, Work<Invariant<M, 8>, TEST_SIZE>(invariant)); in test_rw_basic()
191 template <typename M>
194 test_basic<M>(p); in test()
198 template <typename M>
201 test_rw_basic<M>(p); in test_rw()