You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe the use of the functions from multiple threads should be better documented.
For example, the statement The purpose and intend of tpm2-tss's contexts is to have 1 context per thread. from #2914 (comment)
Is the same true for the Tcti contexts?
The text was updated successfully, but these errors were encountered:
Good question. I'd say the design goal is being able to have multiple tcti contexts for a given thread. I'm not aware of any showstoppers here (global variables etc.). Let me make clear, however, that this is not the focus of our tests. So I would not bet money on it.
In other words - we should write tests for using multiple tctis in the same thread before documenting this.
I remember the tcti-libtpms had a challenge for multi-threading, but we did our best to make it work. See also this comment. Again, not the focus of our tests.
I believe the use of the functions from multiple threads should be better documented.
For example, the statement The purpose and intend of tpm2-tss's contexts is to have 1 context per thread. from #2914 (comment)
Is the same true for the Tcti contexts?
The text was updated successfully, but these errors were encountered: