[Top][All Lists]

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

Re: [Chicken-meisters] Restart of apache required

From: Mario Domenech Goulart
Subject: Re: [Chicken-meisters] Restart of apache required
Date: Wed, 11 May 2011 12:44:20 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux)

On Wed, 11 May 2011 17:17:54 +0200 Peter Bex <address@hidden> wrote:

> On Wed, May 11, 2011 at 08:30:17AM -0400, Felix wrote:
>> Ugh. This is the implementation of C_milliseconds, which is used
>> by current-milliseconds:
>>     struct timeval tv;
>>     if(C_gettimeofday(&tv, NULL) == -1) return 0;
>>     else return (tv.tv_sec - C_startup_time_seconds) * 1000 + tv.tv_usec / 
>> 1000;
>> I think I forgot to cast to double before doing the arithmetic, right?
> I don't know. C's type rules confuse me.  It makes sense though.
> I see you're implemented a fix.  Does this always return doubles on
> 32-bits platforms, even when overwriting C_startup_time_seconds like
> I did?  If so, we might have solved this particular "Spiffy hanging" bug.

It still is a mistery why the spiffy instance at DOESN'T
hang (chicken 4.5.0, though).  I've never seen it hang and sometimes it
runs for months without being restarted.

Best wishes.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]