mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Change timer tick interval under Wince
This commit is contained in:
parent
fcb5f7d08f
commit
64a786b2d9
2 changed files with 16 additions and 11 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2010-12-02 Werner Koch <wk@g10code.com>
|
||||||
|
|
||||||
|
* gpg-agent.c (CHECK_OWN_SOCKET_INTERVAL) [W32CE]: Set to 60
|
||||||
|
seconds.
|
||||||
|
|
||||||
2010-11-29 Werner Koch <wk@g10code.com>
|
2010-11-29 Werner Koch <wk@g10code.com>
|
||||||
|
|
||||||
* cache.c (initialize_module_cache): Factor code out to ...
|
* cache.c (initialize_module_cache): Factor code out to ...
|
||||||
|
|
|
@ -195,20 +195,20 @@ static ARGPARSE_OPTS opts[] = {
|
||||||
|
|
||||||
/* The timer tick used for housekeeping stuff. For Windows we use a
|
/* The timer tick used for housekeeping stuff. For Windows we use a
|
||||||
longer period as the SetWaitableTimer seems to signal earlier than
|
longer period as the SetWaitableTimer seems to signal earlier than
|
||||||
the 2 seconds. */
|
the 2 seconds. CHECK_OWN_SOCKET_INTERVAL defines how often we
|
||||||
#ifdef HAVE_W32_SYSTEM
|
check our own socket in standard socket mode. If that value is 0
|
||||||
#define TIMERTICK_INTERVAL (4)
|
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
|
#else
|
||||||
#define TIMERTICK_INTERVAL (2) /* Seconds. */
|
# define TIMERTICK_INTERVAL (2)
|
||||||
|
# define CHECK_OWN_SOCKET_INTERVAL (60)
|
||||||
#endif
|
#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
|
/* The list of open file descriptors at startup. Note that this list
|
||||||
has been allocated using the standard malloc. */
|
has been allocated using the standard malloc. */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue