polling-period
polling-period is a variable defined in `C source code
'.
Its value is 2Documentation: Interval between polling for input during Lisp execution. The reason for polling is to make C-g work to stop a running program. Polling is needed only when using X windows and SIGIO does not work. Polling is automatically disabled in all other cases. You can customize this variable.