mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Change dirmngr timer under W32CE.
Fix trustdb open problem under W32CE.
This commit is contained in:
parent
64a786b2d9
commit
1486dec17b
4 changed files with 35 additions and 4 deletions
|
@ -1,3 +1,7 @@
|
|||
2010-12-07 Werner Koch <wk@g10code.com>
|
||||
|
||||
* dirmngr.c (TIMERTICK_INTERVAL) [W32CE]: Change to 60s.
|
||||
|
||||
2010-11-23 Werner Koch <wk@g10code.com>
|
||||
|
||||
* Makefile.am (dirmngr_LDFLAGS): Add extra_bin_ldflags.
|
||||
|
|
|
@ -241,11 +241,15 @@ static int active_connections;
|
|||
|
||||
/* 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)
|
||||
#elif defined(HAVE_W32_SYSTEM)
|
||||
# define TIMERTICK_INTERVAL (4)
|
||||
#else
|
||||
#define TIMERTICK_INTERVAL (2) /* Seconds. */
|
||||
# define TIMERTICK_INTERVAL (2)
|
||||
#endif
|
||||
|
||||
/* This union is used to avoid compiler warnings in case a pointer is
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue