2011-09-27, 20:42
tsp42 Wrote:The leak should be closed now.
Remarkable example of how well written the libcmyth code and documentation is :-)
Code:/**
* Atomically decrement a reference count variable.
* \param valp address of atomic variable
* \return incremented reference count
*/
static inline unsigned
__mvp_atomic_decrement(mvp_atomic_t *valp)
{
mvp_atomic_t __val;
#if defined __i486__ || defined __i586__ || defined __i686__
__asm__ __volatile__(
"lock xaddl %0, (%1);"
" inc %0;"
: "=r" (__val)
Thank you for your quick work on this!!
I am building a fresh clone.
I will feed back if i find anything new.
Thanks,
Dubstar_04