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 <[email protected]>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 > [email protected] > http://lists.drizzle.com/mailman/listinfo/muscle > >
_______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
