Juan Lang juan.lang@gmail.com writes:
There's no reason to invent such complicated locking mechanisms. Just put the whole thing inside a critical section and be done with it.
I already did, in yesterday's patch series. Would you like me to resend?
That series is still trying to be too smart for its own good and potentially leaking references. Keep it simple.