Chris Wright wrote: >Great, thanks. This is technically racy. It's possible (albeit small >window) that something could be delivered before this is set. > Yes, hard trigger but that can happen and doesn't tell too much in favour of me. >Using a callback struct during registration would fix this. > > I agree, maybe something like the example patch attached. Hope that helps. -- Pablo