[assembler] thread safe tmp storage
[producsts.base] makes result variable atomic