This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: tselect


Mikael Djurfeldt <mdj@nada.kth.se> writes:

> The event-loop should instead be implemented on top of
> scm_internal_select.

Yes, that would indeed be better.

When thread support is not available you are not able to start new
threads, but that should be about the only difference.  An event loop
can easily be implemented on top of scm_internal_select.  There isn't
even any need for callback support.  In fact, callbacks might
complicate the issue significantly because they require a running
event-loop.

We need a way to make the toolkits use scm_internal_select instead of
the regular select.  This should not be difficult.