OpenDACS API thread-safe?

Can you confirm if Open DACS API is thread-safe? we would like to share DACSAuthorizationAgent on multi-thread, Do we need to add lock mechanism in our application.

Best Answer

  • @Rupert Schilling

    Referring to Open DACS Developer Guide (DACSAUTH_devguide.pdf), Open DACS API is thread-safe. Basically the method of the same
    DACSAuthorizationAgent can be called by different threads. Open DACS API already implemented the lock mechanism to handle the multi-thread
    access, so no need to implement the lock mechanism in your application.