Do you have some reference so I could see the suggestion?
Unfortunately not, but the first way that comes to mind would be to move the thunks into a source file in `mmdevapi` that is then compiled by each backend.
Generally I don't think we can exactly move the thunks, logically that belongs to Unix backend.
Anyway, I guess it is a bit orthogonal to my MR and also we should probably stick to the same way of doing it throughout the modules?
The `mmdevapi` design is special compared to a common module: the unixlib definition already resides in `mmdevapi` because it's shared across backends (that are then loaded on demand).
I agree that the thunks should be moved in a dedicated MR.