[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] GNU gnutls branch, master, updated. gnutls_2_99_1-35-g25f4ccc
From: |
Nikos Mavrogiannopoulos |
Subject: |
[SCM] GNU gnutls branch, master, updated. gnutls_2_99_1-35-g25f4ccc |
Date: |
Tue, 17 May 2011 20:49:46 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU gnutls".
http://git.savannah.gnu.org/cgit/gnutls.git/commit/?id=25f4ccce42d43f424d6418c7f1ad2a231e464a1b
The branch, master has been updated
via 25f4ccce42d43f424d6418c7f1ad2a231e464a1b (commit)
from 97980eb54e0a2e52225a9f20325eac7186a5cedc (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 25f4ccce42d43f424d6418c7f1ad2a231e464a1b
Author: Nikos Mavrogiannopoulos <address@hidden>
Date: Tue May 17 22:49:38 2011 +0200
corrections in win32 version.
-----------------------------------------------------------------------
Summary of changes:
src/benchmark-common.c | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/benchmark-common.c b/src/benchmark-common.c
index 6e64747..b6b426a 100644
--- a/src/benchmark-common.c
+++ b/src/benchmark-common.c
@@ -28,30 +28,30 @@ alarm_handler (LPVOID lpParameter)
#define W32_ALARM_VARIABLES HANDLE wtimer = NULL, wthread = NULL; \
LARGE_INTEGER alarm_timeout = { 0 , 0 }
#define W32_ALARM_TRIGGER(timeout, leave) { \
- wtimer = CreateWaitableTimer (NULL, TRUE, NULL); \
- if (wtimer == NULL) \
+ st->wtimer = CreateWaitableTimer (NULL, TRUE, NULL); \
+ if (st->wtimer == NULL) \
{ \
fprintf (stderr, "error: CreateWaitableTimer %u\n", GetLastError ()); \
leave; \
} \
- wthread = CreateThread (NULL, 0, alarm_handler, &wtimer, 0, NULL); \
- if (wthread == NULL) \
+ st->wthread = CreateThread (NULL, 0, alarm_handler, &st->wtimer, 0, NULL); \
+ if (st->wthread == NULL) \
{ \
fprintf (stderr, "error: CreateThread %u\n", GetLastError ()); \
leave; \
} \
alarm_timeout.QuadPart = timeout * 10000000; \
- if (SetWaitableTimer (wtimer, &alarm_timeout, 0, NULL, NULL, FALSE) == 0) \
+ if (SetWaitableTimer (st->wtimer, &alarm_timeout, 0, NULL, NULL, FALSE) ==
0) \
{ \
fprintf (stderr, "error: SetWaitableTimer %u\n", GetLastError ()); \
leave; \
} \
}
#define W32_ALARM_CLEANUP { \
- if (wtimer != NULL) \
- CloseHandle (wtimer); \
- if (wthread != NULL) \
- CloseHandle (wthread);}
+ if (st->wtimer != NULL) \
+ CloseHandle (st->wtimer); \
+ if (st->wthread != NULL) \
+ CloseHandle (st->wthread);}
#endif
static void
hooks/post-receive
--
GNU gnutls
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] GNU gnutls branch, master, updated. gnutls_2_99_1-35-g25f4ccc,
Nikos Mavrogiannopoulos <=