<div>Ok, thanks a lot!</div><div><br></div><div>/Frank</div><div><br><div class="gmail_quote"><div>Le ven. 9 juin 2017 à 15:55, Max Lapshin <<a href="mailto:max.lapshin@gmail.com">max.lapshin@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="gmail_extra">If you are 100% sure that you can give such negative decrement that will be always bigger than you value.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Not very good way to program, but you can get atomic "read-and-reset" counter that can be ok for example for counters like network bytes.</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div></div>
</blockquote></div></div>