Re: RES: Parallel Process with readers - pcsc-lite

Ludovic Rousseau <[email protected]>
Newsgroups gmane.comp.lib.muscle
Message-ID <CAGstE8Au9XjDaPye2d4NjX7i2k0osruULUh+4okroF83UPy1jw@mail.gmail.com>
2013/7/3 MURILO COSTA <[email protected]>:
> I thought that maybe can be a Java problem, do you know some software to do this kind of test (parallelism) ? I'll check if pcsc-tools can do that...

I guess it is a javax.smartcardio "limitation".

You need to create one context per reader using SCardEstablishContext.
I bet the Java wrapper creates only one context for all the readers.
In pcsc-lite the context is associated to a mutex. So all your
commands will block on the same mutex even if they use different
readers.
I don't know if is it easy or even possible to avoid this Java wrapper
"feature".

> Do you think that issue have some relationship with this Ludovic post:
> http://ludovicrousseau.blogspot.com.br/2013/06/ccid-descriptor-statistics_7148.html

No.

Bye

--
 Dr. Ludovic Rousseau
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.