Add relaxed shared pointer (thread unsafe with non-atomic counter).

This commit is contained in:
Patrick Pelissier committed 2018-02-10 17:31:12 +01:00
1 parent f5857c8aab
commit a9aa1e13ee
2 files changed
+19

No files matched your search

+1
View File
@@ -30,6 +30,7 @@ START_COVERAGE
SHARED_PTR_DEF(shared_int, int)
END_COVERAGE
SHARED_PTR_DEF(shared_mpz, mpz_t, M_CLASSIC_OPLIST(mpz))
SHARED_PTR_RELAXED_DEF(shared_relaxed_int, int)
static int f(const shared_int_t p)
{