go-ceph/internal
Sven Anderson 1c72979ce0 ptrguard: assert that //go:uintptrescapes actually works
This adds a test that assures that the special //go:uintptrescapes comment
before the storeUntilRelease() function works as intended, that is the
garbage collector doesn't touch the object referenced by the uintptr until
the function returns after Release() is called.  The test will fail if the
//go:uintptrescapes comment is disabled (removed) or stops working in future
versions of go.

Signed-off-by: Sven Anderson <sven@redhat.com>
2021-03-19 09:47:19 -04:00
..
callbacks callbacks: replace index with unique ID 2020-11-05 17:16:32 +00:00
cutil ptrguard: assert that //go:uintptrescapes actually works 2021-03-19 09:47:19 -04:00
errutil errutil: replace unused StrError with FormatErrorCode function 2020-08-10 13:03:24 -04:00
retry retry: add a helper lib for retrying common operations 2020-04-20 15:08:36 -04:00
timespec timespec: add a helper function to convert from Timespec to C 2021-01-12 14:47:30 +00:00