[Ecls-list] [Patch] serve-event port
Juan Jose Garcia-Ripoll
jjgarcia at users.sourceforge.net
Mon Oct 1 12:44:33 UTC 2007
Hi Steve,
that is a very nice contribution. However, I would like to know how
you use it in practice: the library works on raw integer descriptors
for files/sockets/etc, but where do you get the file descriptors from?
Is there a "standard" way in SBCL to gather those descriptors for a
socket?
I will add it to the ECL source tree as soon as possible. I only need
an explicit license text, with your name in it, that I can prepend to
the lisp files.
Cheers,
Juanjo
2007/10/1, Steve Smith <tarka at internode.on.net>:
> Hi,
>
> The attached patch is a port of the SBCL/CMUCL 'serve-event'
> functionality to ecl. serve-event provides a lispy abstraction of
> unix select(2) non-blocking IO (and potentially other variants such as
> epoll). An example of a single-threaded server based on this can be
> seen here:
>
> http://haltcondition.net/?p=2232
>
> Note that I've not included the regenerated src/configure to keep the
> patch size down; run autoconf to include the new functionality.
>
> Comments and (constructive) critisism welcome.
>
> Cheers,
> Steve
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Ecls-list mailing list
> Ecls-list at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ecls-list
>
>
>
--
Facultad de Fisicas, Universidad Complutense,
Ciudad Universitaria s/n Madrid 28040 (Spain)
http://juanjose.garciaripoll.googlepages.com
More information about the ecl-devel
mailing list