Re: Extensions Infrastructure Work



Right now, see the patches in bug 653212[0]

On Thu, Jun 23, 2011 at 7:54 AM, ecyrbe <ecyrbe 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 lists 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]