Hi, 

does anyone know how we can solve this problem?
using two cards at the same time does currently
not work:

if C_Initialize is called the second card blocks if there is
already an open session. C_Initialize looks at all readers,
whether in use or not. The calling chain is:
C_Initialize
-> __card_detect_all
-> card_detect
-> pkcs15_bind
-> sc_pkcs15_bind
-> sc_lock
-> pcsc_lock
-> SCardBeginTransaction
-> SYS_Usleep
-> _nanosleep_nocancel

is there a way to find out if a reader is already in use?
or is there an option so pcsc_lock could fail if the
reader is locked, rather than wait?

Regards, Andreas
p.s. didn't gather this info myself, rather translated a bug report I got.
_______________________________________________
opensc-devel mailing list
[email protected]
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to