Re: Extensions Infrastructure Work
- From: John Stowers <john stowers lists gmail com>
 
- To: ecyrbe <ecyrbe gmail com>
 
- Cc: Olav Vitters <olav vitters nl>,	gnome-shell-list <gnome-shell-list gnome org>
 
- Subject: Re: Extensions Infrastructure Work
 
- Date: Thu, 23 Jun 2011 23:39:13 +1200
 
>         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.
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]