>In theory is it important to call SCardEstablishContext for every thread
and every API call or in real life it only affects cases like
>SCardGetStatusChange with infinite timeout?

Also in practice.

If I understand correctly, SCardEstablishContext() creates a socket
connection using UNIX domain sockets to pcscd. The PCSC API is blocking (you
do not receive card responses in a callback) so imagine the socket is also
blocking, this explains why you need a SCARDCONTEXT for each thread.

Seb
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to