[Pcsclite-muscle] Difference with Windows (maybe a bug)
Ludovic Rousseau
ludovic.rousseau
Fri Sep 23 06:21:37 PDT 2016
2016-09-23 11:03 GMT+02:00 Abraham Macias Paredes <amacias at solutia-it.es>:
> Hi PCSC lite Project people,
>
> 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.
>
>
>
> The software has several threads. In a thread a ?SCardGetStatusChange? is
> performed and it locks until there is a change in the status.
>
> 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?.
>
This is a known difference between pcsc-lite and PC/SC on Windows.
It is already documented at
http://pcsclite.alioth.debian.org/api/group__API.html#details point 6.
It is not a bug. It is a feature. :-)
Bye
--
Dr. Ludovic Rousseau
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pcsclite-muscle/attachments/20160923/a1f48dc2/attachment.html>
More information about the pcsclite-muscle
mailing list