 out of resources.
Exceptions arising during execution of the generator, if not caught by
a handler procedure, will terminate the program.  Exceptions thrown by
the handler procedure will propagate out of g-main-loop-run.
Exceptions thrown by &rsquo;proc&rsquo;, if not caught locally, will also
propagate out of g-main-loop-run.
</p>
<p>This procedure is first available in version 0.9 of this library.
</p>
<p>This procedure uses g-idle-add: see the introductory remarks about
that.
</p>
<p>Here is an example 