From: Ronald T. <ron...@ia...> - 2009-05-26 07:58:08
|
Hi Paolo, Just use the SOAP bindings for your application. Then the TCS will mange the TPM and act as server to as many client threads as you need. At least in theory. :-) - Feedback and experience reports on this mechanism are welcome. hth, Ronald Paolo wrote: > Hi, i have a problem > > i know that the TPM can be accessed by one TSS at a time. > But in my application the TSS code is executed by a java thread that > connect it to the TPM with the context_.connect(), do his job and then, > before the thread die, calls the context_.closeContext() method. Than > the thread die and the control return to the main program that continue > to work. > If then i want to execute another thread that must have access to the > TPM then a *resource busy Device /dev/tpm* exception is thrown. > How can i have a multiple access to the TPM? > > best regards Paolo > > -- Dipl.-Ing. Ronald Tögl phone +43 316/873-5502 Trusted Computing Labs fax +43 316/873-5520 IAIK ron...@ia... Graz University of Technology http://www.iaik.tugraz.at |