[prev in list] [next in list] [prev in thread] [next in thread]
List: gnupg-commit-watchers
Subject: [svn] gpgme - r1510 - trunk/src
From: cvs () cvs ! gnupg ! org (svn author marcus)
Date: 2010-11-23 10:48:00
Message-ID: E1PKq0i-0000hr-Cd () lists ! gnupg ! org
[Download RAW message or body]
Author: marcus
Date: 2010-11-23 11:47:59 +0100 (Tue, 23 Nov 2010)
New Revision: 1510
Modified:
trunk/src/ChangeLog
trunk/src/w32-io.c
Log:
2010-11-23 Marcus Brinkmann <mb@g10code.com>
* w32-io.c (create_reader, create_writer): Use small stack size on
Windows CE.
Modified: trunk/src/ChangeLog
===================================================================
--- trunk/src/ChangeLog 2010-11-23 09:46:52 UTC (rev 1509)
+++ trunk/src/ChangeLog 2010-11-23 10:47:59 UTC (rev 1510)
@@ -1,5 +1,10 @@
2010-11-23 Marcus Brinkmann <mb@g10code.com>
+ * w32-io.c (create_reader, create_writer): Use small stack size on
+ Windows CE.
+
+2010-11-23 Marcus Brinkmann <mb@g10code.com>
+
* gpgme.h.in (gpgme_conf_arg_new): Make VALUE arg const void *.
* gpgconf.c (_gpgme_conf_arg_new): Likewise.
(gpgme_conf_arg_new): Likewise.
Modified: trunk/src/w32-io.c
===================================================================
--- trunk/src/w32-io.c 2010-11-23 09:46:52 UTC (rev 1509)
+++ trunk/src/w32-io.c 2010-11-23 10:47:59 UTC (rev 1510)
@@ -464,7 +464,13 @@
ctx->have_data_ev = set_synchronize (ctx->have_data_ev);
INIT_LOCK (ctx->mutex);
+#ifdef HAVE_W32CE_SYSTEM
+ ctx->thread_hd = CreateThread (&sec_attr, 64 * 1024, reader, ctx,
+ STACK_SIZE_PARAM_IS_A_RESERVATION, &tid);
+#else
ctx->thread_hd = CreateThread (&sec_attr, 0, reader, ctx, 0, &tid);
+#endif
+
if (!ctx->thread_hd)
{
TRACE_LOG1 ("CreateThread failed: ec=%d", (int) GetLastError ());
@@ -824,7 +830,13 @@
ctx->is_empty = set_synchronize (ctx->is_empty);
INIT_LOCK (ctx->mutex);
+#ifdef HAVE_W32CE_SYSTEM
+ ctx->thread_hd = CreateThread (&sec_attr, 64 * 1024, writer, ctx,
+ STACK_SIZE_PARAM_IS_A_RESERVATION, &tid);
+#else
ctx->thread_hd = CreateThread (&sec_attr, 0, writer, ctx, 0, &tid );
+#endif
+
if (!ctx->thread_hd)
{
TRACE_LOG1 ("CreateThread failed: ec=%d", (int) GetLastError ());
_______________________________________________
Gnupg-commits mailing list
Gnupg-commits@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-commits
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic