thanks, i'll do it this week end and upload the patch on the same bugzilla for comparison (if libsoup works of course)
2011/6/23 Jasper St. Pierre <jstpie...@mecheye.net> > Right now, see the patches in bug 653212[0] > > On Thu, Jun 23, 2011 at 7:54 AM, ecyrbe <ecy...@gmail.com> wrote: > > is there a place where this server lives so i can take a look to > implement > > the same behaviour in the shell? > > thanks > > > > 2011/6/23 John Stowers <john.stowers.li...@gmail.com> > >> > >> > >> > 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. > >> > >> > > -- > Jasper > > [0] https://bugzilla.gnome.org/show_bug.cgi?id=653212 >
_______________________________________________ gnome-shell-list mailing list gnome-shell-list@gnome.org http://mail.gnome.org/mailman/listinfo/gnome-shell-list