Try to make the threshold mechanism parallel. This has a price to pay, we need to loop twice over the
cells in the neurongroup. However, I think this operation is so fast that this is not costing a lot
compared to the possibility of multi-threading the updates, if they are complex enough. Preliminary
bencharks confirm this intuition