Searched defs:hb_atomic_int_t (Results 1 – 1 of 1) sorted by relevance
268 struct hb_atomic_int_t struct270 void set_relaxed (int v_) { hb_atomic_int_impl_set_relaxed (&v, v_); } in set_relaxed()271 void set (int v_) { hb_atomic_int_impl_set (&v, v_); } in set()272 int get_relaxed () const { return hb_atomic_int_impl_get_relaxed (&v); } in get_relaxed()273 int get () const { return hb_atomic_int_impl_get (&v); } in get()274 int inc () { return hb_atomic_int_impl_add (&v, 1); } in inc()275 int dec () { return hb_atomic_int_impl_add (&v, -1); } in dec()277 int v;