in reply to Thread-safe modules and callbacks

I may be missing something, but can't you just pass the relevant data as arguments to the callback?