rounding, thread local and producer consumer concepts