This is a patch for enabling poll/ppoll support for I/O: https://github.com/feeley/gambit/pull/7
This allows the system to use more than 1024 file descriptors without crashing.
Branch in my repo in case you want to fork: https://github.com/vyzo/gambit/tree/enable-poll-support
-- vyzo