Several global variables (cb structure) are handled both in the main thread and in the mds thread but no mutex is used for protection. Make handling of global variables thread safe
Hi elunlen,
I have only seen cb->agent_cnt and cb->smfd_dest which are not protected. Do you see more variables in smfnd_mds.c which needs lock protection?
Thanks
Krishna
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi elunlen,
I have only seen cb->agent_cnt and cb->smfd_dest which are not protected. Do you see more variables in smfnd_mds.c which needs lock protection?
Thanks
Krishna
Any response?
Fixed with
5eb4b76fbaa13b2773f9a8e0a059a1e4d61febc2