Hi,

I'm testing the OpenSC pkcs11 module with Firefox.

In the logs I see the endless loop of the messages from the 
C_WaitForSlotEvent() and underneath calls,
non interrupted by timeout. CPU usage is considerable.

My question: should it be like this?

Imho, somewhere it's expected that this flow of function calls should be 
stopped  (or at least interrupted for some 'timeout') by 
SCardGetStatusChange() pcsc procedure.

In fact, afais, the pcsc_wait_for_event() is designed rather to 'poll' 
the readers state and not to 'wait'.
http://www.opensc-project.org/opensc/browser/trunk/src/libopensc/reader-pcsc.c#L980


Kind wishes,
Viktor.








-- 
Viktor Tarasov  <viktor.tara...@opentrust.com>

_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to