But there are references to _static_dsos[] outside of _d_dso_registry which do need to be synchronized with the ones inside _d_dso_registry. Otherwise the code may wind up pointing to memory that has been free()'d.