Re: [opensc-devel] OpenSC in multi-thread

2011-09-10 Thread NdK
On 09/09/2011 21:22, Douglas E. Engert wrote: > One possible way would be to turn off some drivers > in the opensc.conf file. Comments and an OpenSC web > page would say how to turn it back on, and how to request > that it not be dropped. The only way that works: break it in a way that requires us

Re: [opensc-devel] OpenSC in multi-thread

2011-09-09 Thread Douglas E. Engert
On 9/9/2011 4:22 AM, Martin Paljak wrote: > On 09/09/11 11:32, Viktor Tarasov wrote: >> Le 09/09/2011 10:09, Martin Paljak a écrit : >>> On Fri, Sep 9, 2011 at 10:39, Viktor >>> Tarasov wrote: Le 09/09/2011 09:23, Martin Paljak a écrit : > If we omit loadable modules, we could also tak

Re: [opensc-devel] OpenSC in multi-thread

2011-09-09 Thread Viktor Tarasov
Le 09/09/2011 11:22, Martin Paljak a écrit : > On 09/09/11 11:32, Viktor Tarasov wrote: >> Le 09/09/2011 10:09, Martin Paljak a écrit : >>> On Fri, Sep 9, 2011 at 10:39, Viktor >>> Tarasov wrote: Le 09/09/2011 09:23, Martin Paljak a écrit : > If we omit loadable modules, we could also ta

Re: [opensc-devel] OpenSC in multi-thread

2011-09-09 Thread Martin Paljak
On 09/09/11 11:32, Viktor Tarasov wrote: > Le 09/09/2011 10:09, Martin Paljak a écrit : >> On Fri, Sep 9, 2011 at 10:39, Viktor >> Tarasov wrote: >>> Le 09/09/2011 09:23, Martin Paljak a écrit : If we omit loadable modules, we could also take that ATR tables are indeed static and do not

Re: [opensc-devel] OpenSC in multi-thread

2011-09-09 Thread Viktor Tarasov
Le 09/09/2011 10:09, Martin Paljak a écrit : > On Fri, Sep 9, 2011 at 10:39, Viktor Tarasov wrote: >> Le 09/09/2011 09:23, Martin Paljak a écrit : >>> If we omit loadable modules, we could also take that ATR tables are >>> indeed static and do not need to be released? Is this correct? >> Exact. >>

Re: [opensc-devel] OpenSC in multi-thread

2011-09-09 Thread Martin Paljak
On Fri, Sep 9, 2011 at 10:39, Viktor Tarasov wrote: > Le 09/09/2011 09:23, Martin Paljak a écrit : >> If we omit loadable modules, we could also take that ATR tables are >> indeed static and do not need to be released? Is this correct? > > Exact. > Only loadable module prevents the static ATR tabl

Re: [opensc-devel] OpenSC in multi-thread

2011-09-09 Thread Viktor Tarasov
Hello, Le 09/09/2011 09:23, Martin Paljak a écrit : > On 31/08/11 20:01, Viktor Tarasov wrote: >> during the tests of minidriver on Windows Vista there was a problem related >> to the using of OpenSC in multi-threads. >> >> SC context create/release are not thread safe -- they allocate/release

Re: [opensc-devel] OpenSC in multi-thread

2011-09-09 Thread Martin Paljak
Hello, On 31/08/11 20:01, Viktor Tarasov wrote: > Hello, > > during the tests of minidriver on Windows Vista there was a problem related > to the using of OpenSC in multi-threads. > > SC context create/release are not thread safe -- they allocate/release memory > referenced by the pointers from