Re: [dev] regarding surf and cookie handling
Greeetings.
Calvin Morrison wrote:
> On 22 February 2012 10:35, Troels Henriksen <athas_AT_sigkill.dk> wrote:
>> Calvin Morrison <mutantturkey_AT_gmail.com> writes:
>>
>>> On 22 February 2012 09:17, Troels Henriksen <athas_AT_sigkill.dk> wrote:
>>> What about inotify? I am now thinking that would be the best. Instead
>>> of loading the file on every request, we could just check for inotify
>>> events. We can create an event for the cookie file using IN_MODIFY
>>> event. if there has been an event, then we reread.
>>
>> Yes, inotify would be the mechanism by which file changes are
>> discovered, although it's not portable. I'm not certain what the
>> Suckless Zeitgeist is on using Linux-only facilities.
>>
>
> Okay, who is the head guru to be consulted on these matters?
>
Poettering says: »Screw *BSD!«
*BSD has kqueues, but I'm lacking information, if there are any
kqueue utils like inotifywait(1).
Sincerely,
Christoph Lohmann
Received on Wed Feb 22 2012 - 17:28:34 CET
This archive was generated by hypermail 2.3.0
: Wed Feb 22 2012 - 17:36:03 CET