[svn] GnuPG - r5494 - trunk/agent
svn author wk
cvs at cvs.gnupg.org
Thu Dec 2 19:40:04 CET 2010
Author: wk
Date: 2010-12-02 19:40:03 +0100 (Thu, 02 Dec 2010)
New Revision: 5494
Modified:
trunk/agent/ChangeLog
trunk/agent/gpg-agent.c
Log:
Change timer tick interval under Wince
Modified: trunk/agent/ChangeLog
===================================================================
--- trunk/agent/ChangeLog 2010-12-02 15:49:02 UTC (rev 5493)
+++ trunk/agent/ChangeLog 2010-12-02 18:40:03 UTC (rev 5494)
@@ -1,3 +1,8 @@
+2010-12-02 Werner Koch <wk at g10code.com>
+
+ * gpg-agent.c (CHECK_OWN_SOCKET_INTERVAL) [W32CE]: Set to 60
+ seconds.
+
2010-11-29 Werner Koch <wk at g10code.com>
* cache.c (initialize_module_cache): Factor code out to ...
Modified: trunk/agent/gpg-agent.c
===================================================================
--- trunk/agent/gpg-agent.c 2010-12-02 15:49:02 UTC (rev 5493)
+++ trunk/agent/gpg-agent.c 2010-12-02 18:40:03 UTC (rev 5494)
@@ -195,20 +195,20 @@
/* The timer tick used for housekeeping stuff. For Windows we use a
longer period as the SetWaitableTimer seems to signal earlier than
- the 2 seconds. */
-#ifdef HAVE_W32_SYSTEM
-#define TIMERTICK_INTERVAL (4)
+ the 2 seconds. CHECK_OWN_SOCKET_INTERVAL defines how often we
+ check our own socket in standard socket mode. If that value is 0
+ we don't check at all. All values are in seconds. */
+#if defined(HAVE_W32CE_SYSTEM)
+# define TIMERTICK_INTERVAL (60)
+# define CHECK_OWN_SOCKET_INTERVAL (0) /* Never */
+#elif defined(HAVE_W32_SYSTEM)
+# define TIMERTICK_INTERVAL (4)
+# define CHECK_OWN_SOCKET_INTERVAL (60)
#else
-#define TIMERTICK_INTERVAL (2) /* Seconds. */
+# define TIMERTICK_INTERVAL (2)
+# define CHECK_OWN_SOCKET_INTERVAL (60)
#endif
-/* How often shall we check our own socket in standard socket mode.
- If that value is 0 we don't check at all. */
-#ifdef HAVE_W32_SYSTEM
-# define CHECK_OWN_SOCKET_INTERVAL (0)
-#else
-# define CHECK_OWN_SOCKET_INTERVAL (60) /* Seconds. */
-#endif
/* The list of open file descriptors at startup. Note that this list
has been allocated using the standard malloc. */
More information about the Gnupg-commits
mailing list