|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Ludovic Rousseau (ludovic.rousseau
gmail.com)
Date: Wed Jan 06 2010 - 07:18:29 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
2010/1/6 Sébastien Lorquet <squalyl
gmail.com>:
> Hi,
>
> I think a single polling thread is what OCF is/was using to generate sc
> events.
>
> The correct way of doing multithread pcsclite is having one SCARDCONTEXT per
> thread, think of contexts as networks connections using sockets. this may
> not be possible (IIUC) with javax.smartcardio.
Exact.
I don't know how to tell javax.smartcardio to call
SCardEstablishContext() in a new thread.
Maybe a new call to TerminalFactory.getDefault();, etc. in the new
thread will do the job. You would have to look at the
javax.smartcardio implementation.
Bye
PS: I would not say it is a bug in pcsc-lite. It is a limitation/feature :-)
--
Dr. Ludovic Rousseau
_______________________________________________
Muscle mailing list
Muscle
lists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]