does pthread_mutex_recursive attribute will affect openssl -


i need clarification in below problem.

problem:
writing wrapper use openssl in locking (mutex) , adding certificate information openssl store using x509_store_add_cert() function , doing more steps followed this.

here problem is, update openssl store, have locked whole operation before calling x509_store_add_cert() , in function once again same lock used update openssl store. so, have used pthread_mutex_recursive attribute mutex , code works fine.

but, since initializing array of global mutex list pthread_mutex_recursive, affect other openssl clients in system?

kindly reply , me in regard. in advance.


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -