Hi,
On 01.12.2009, at 9:57, Ludovic Rousseau wrote:
2009/11/30 Martin Paljak <[email protected]>:
What is the status of multithreaded access to pcsc-lite? Is it supposed to work?
Yes. But each thread needs to have its own context. You shall call
SCardEstablishContext() in the newly created thread and you program
should work (not yet tested with your sample).
following this thread, if I understood corretly, each thread needs its
own SCARDCONTEXT.
But to cancel a blocking SCardGetStatusChange(timeout=INFINITE), I have
to call SCardCancel() from an other thread.
So, which SCARDCONTEXT handle do I pass as an argument to SCardCancel()?
Either does SCardCancel() cancel all waiting calls across all
established contexts or I don't understand how this could work?
Greetings,
Waldemar Dick
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle