What context are you worried about?  Card-side context or Application-side?

TM

<[EMAIL PROTECTED]> wrote in message
OF3ADC7DF1.0574D49B-ONC12568A2.0046E212@LocalDomain">news:OF3ADC7DF1.0574D49B-ONC12568A2.0046E212@LocalDomain...
>
>
>
> 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 deter=
> mine
> the
> card type. This may result in a loss of state (e.g. CHV ok) in the othe=
> r
> thread.
>
> How do you solve such problems?
>
> Thanks,
> =A0 =A0 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