<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2016-09-23 11:03 GMT+02:00 Abraham Macias Paredes <span dir="ltr"><<a target="_blank" href="mailto:amacias@solutia-it.es">amacias@solutia-it.es</a>></span>:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div lang="ES"><div><p class="MsoNormal">Hi PCSC lite Project people,<u></u><u></u></p><p class="MsoNormal"> I’m developing a software that must work in Windows and Linux. And I found a difference between Windows PCSC API and “pcsc-lite” that may be a bug.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">The software has several threads. In a thread a “SCardGetStatusChange” is performed and it locks until there is a change in the status.<u></u><u></u></p><p class="MsoNormal">When another thread performs a “SCardConnect”, in Windows the “SCardGetStatusChange” call returns with the “SCARD_STATE_INUSE” flag activated. But in Linux the thread continues locked at “SCardGetStatusChange”. </p></div></div></blockquote><div><br></div><div>This is a known difference between pcsc-lite and PC/SC on Windows.<br><br></div><div>It is already documented at <a href="http://pcsclite.alioth.debian.org/api/group__API.html#details">http://pcsclite.alioth.debian.org/api/group__API.html#details</a> point 6.<br><br></div><div>It is not a bug. It is a feature. :-)<br></div><div><br></div><div>Bye<br><br></div></div>-- <br><div class="gmail_signature"> Dr. Ludovic Rousseau</div>
</div></div>