question regarding use of krb5_context and krb5_auth_context

Sam Hartman hartmans at MIT.EDU
Thu Sep 4 14:56:44 EDT 2003


>>>>> "JC" == JC Ferguson <jc at acopia.com> writes:

    JC> Thanks for the quick reply.  One last question.  If I were to
    JC> use multiple krb5_context's in a multi-threaded application
    JC> and wrap a lock/mutex around all the krb5_* calls, should I
    JC> expect things to work fine?  I.e., never call the krb5 api
    JC> from more than one thread at the same time.

That should work fine.

You may actually be able to do somewhat better than that although it
will take some experimentation.



More information about the krbdev mailing list