Code review comment for lp:~spiv/bzr/sigwinch-without-signalmodule-583941

Revision history for this message
Martin Packman (gz) wrote :

> Moving the width variable to a Python int wouldn't help either.

I'm missing the point somewhat here, that problem could be worked around. What can't be is the need to use ioctl to get the actual number, and am pretty sure that does shocking things like using malloc so isn't signal-reentrant.

Scheduling a Python function to run once the interpreter is restarted like the Python signal module would be another option, but I don't think there's a general way of doing that.

« Back to merge proposal