Le mercredi 03 septembre 2003 � 20:03:19, Jean-Luc Giraud a �crit:
> 
> Hi,
> 
> What you see is probably is due to how pcscd handles multi threading. I 
> might be wrong, but I think that pcscd acquires a lock for each call to 
> a specific driver and only realeases it once the call is finished. 
> Calls to a specific driver are therefore serialised. This has the great 
> advantage of making the development of drivers much simpler (you don't 
> have to worry about mutlithreading in the driver). The dawback is that 
> the driver can only execute one command at a time.

I think you are right.

The easiest way would be to ask the driver using IFDHGetCapabilities()
and a new tag to see if it can be multi threaded safely or not.

I welcome patches for pcsc-lite on this.

Regards,

-- 
 Dr. Ludovic Rousseau                        [EMAIL PROTECTED]
 -- Normaliser Unix c'est comme pasteuriser le camembert, L.R. --
_______________________________________________
Muscle mailing list
[EMAIL PROTECTED]
http://lists.musclecard.com/mailman/listinfo/muscle

Reply via email to