>         It wouldn't be
>         running code when sleeping -- it would just be waiting on
>         select()...
> 
> don't use select... it's not portable... use libevent for this job if
> you want.
>  

This discussion is academic now.

The server is about 50 lines of python (with portability and threading
for free). The server will serve about 0.0048 requests/second* and the
process will get swapped out when inactive.

Please feel free to hack something up in the shell, it would be
interesting to compare, and a good exercise in testing the libsoup
introspection support for servers.

John

* average taken over 1 week of expected use.


_______________________________________________
gnome-shell-list mailing list
gnome-shell-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-shell-list

Reply via email to