Comment

Comment by Sharlin

     if (--old_val->refcount == 0)
It's pre-decrement; the refcount is decremented before comparison.
parent Sharlin 10 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton