[Top][All Lists]

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

bug#21804: 25.0.50; file-notify-tests failure on Cygwin

From: Ken Brown
Subject: bug#21804: 25.0.50; file-notify-tests failure on Cygwin
Date: Wed, 28 Dec 2016 18:16:20 -0500
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1

On 12/27/2016 1:35 PM, Michael Albinus wrote:
I'm reading glib's sources now, in order to
understand how the polling works exactly.

Hi Michael,

I just looked at the sources also, and the reason for the roughly 5-second delays I've been observing is clear. In gio/gpollfilemonitor.c we have the following:

#define POLL_TIME_SECS 5
schedule_poll_timeout (GPollFileMonitor* poll_monitor)
  poll_monitor->timeout = g_timeout_source_new_seconds (POLL_TIME_SECS);

So I guess there's no way to avoid using a value of file-notify--test-read-event-timeout bigger than 5.

Best regards,


reply via email to

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