Hello,

the Card Service factory normally determines the
card type using the historical bytes of the ATR.

Now we have a situation where the ATR is not sufficient.
The additional requirement is to read a given file.
We found that when an application uses more than one service factory
(for whatever reason), say
* factory 1 in thread 1
* factory 2 in thread 2
this might lead to problems.

Reason: Thread 1 requests a card service available from factory 1 and
starts running.
After a while thread 2 requests a service available from factory 2 only.
Factory 2 now needs to select (and read) a given file in order to determine
the
card type. This may result in a loss of state (e.g. CHV ok) in the other
thread.

How do you solve such problems?

Thanks,
� � Daniel




---
> Visit the OpenCard web site at http://www.opencard.org/ for more
> information on OpenCard---binaries, source code, documents.
> This list is being archived at http://www.opencard.org/archive/opencard/

! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
!                           [EMAIL PROTECTED]
! containing the word
!                           unsubscribe 
! in the body.

Reply via email to