gustafn
committed
on 30 Jun 18
replace lock by atomic operation nsv_lappend
some more code cleanup