[Pcsclite-cvs-commit] r2179 - trunk/PCSC/src

Ludovic Rousseau rousseau at costa.debian.org
Wed Sep 27 15:36:45 CEST 2006


Author: rousseau
Date: 2006-09-27 13:36:39 +0000 (Wed, 27 Sep 2006)
New Revision: 2179

Modified:
   trunk/PCSC/src/winscard.c
Log:
SCardConnect()/SCardDisconnect(): use a loop of 0.1 second instead of
0.1 millisecond to wait until the sharing is over


Modified: trunk/PCSC/src/winscard.c
===================================================================
--- trunk/PCSC/src/winscard.c	2006-09-26 14:13:21 UTC (rev 2178)
+++ trunk/PCSC/src/winscard.c	2006-09-27 13:36:39 UTC (rev 2179)
@@ -246,7 +246,7 @@
 	 * wait until a possible transaction is finished
 	 */
 	while (rContext->dwLockId != 0)
-		SYS_USleep(100);
+		SYS_USleep(100000);
 
 	/*******************************************
 	 *
@@ -713,7 +713,7 @@
 	 * wait until a possible transaction is finished
 	 */
 	while (rContext->dwLockId != 0)
-		SYS_USleep(100);
+		SYS_USleep(100000);
 
 	/*
 	 * Unlock any blocks on this context




More information about the Pcsclite-cvs-commit mailing list