|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Sébastien Lorquet (squalyl
gmail.com)
Date: Wed Jan 06 2010 - 06:36:58 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
Regards
Sebastien
On Wed, Jan 6, 2010 at 1:14 PM, Caden.smith Smith
<caden.smith.01
gmail.com>wrote:
> Yes,
>
> thank you, I read that since one thread blocks with infinite time the other
> commands in the daemon but will be cued and not execute.
>
> I guess I will have to go with something less tidy/clean like sleeping each
> thread for 1 or 2 secs and verify if "isCardInserted" in all terminal
> threads...
>
> I remembered this approach, but do you have by any chance a different
> solution in order to have generic code for the two platforms?
>
> Cad.
>
>
>
> _______________________________________________
> Muscle mailing list
> Muscle
lists.musclecard.com
> http://lists.drizzle.com/mailman/listinfo/muscle
>
>
_______________________________________________
Muscle mailing list
Muscle
lists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]