From a14ff781ebf231daa99990fd65c2312f26db93a8 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Tue, 19 Feb 2013 13:51:32 +0100 Subject: Manage C_CloseAllSessions function for multiple callers Make C_CloseAllSessions work for different callers. Track the sessions that each caller opens and close just those when C_CloseAllSessiosn is called. --- doc/manual/p11-kit-sharing.xml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc/manual') diff --git a/doc/manual/p11-kit-sharing.xml b/doc/manual/p11-kit-sharing.xml index 01b3c8b..0989923 100644 --- a/doc/manual/p11-kit-sharing.xml +++ b/doc/manual/p11-kit-sharing.xml @@ -88,6 +88,12 @@ function concurrently from different threads and p11-kit will guarantee that this managed in a thread-safe manner. + + Call to C_CloseAllSessions only close the + sessions that the caller of the managed module has opened. This allows the + C_CloseAllSessions function to be used without closing + sessions for other callers of the same PKCS#11 module. + -- cgit v1.1