Unix和Windows中的DLL卸载顺序

Unix和Windows中的DLL卸载顺序,dll,shared-libraries,Dll,Shared Libraries,我有两个DLL:A和B 从dll a中的代码,我动态加载dll B(在Unix上使用dlopen,在Windows上使用LoadLibrary)。是否保证B将在A之前卸载 Unix和Windows的行为有什么区别吗?不保证首先卸载哪个DLL(Unix和Windows在这一点上没有区别)

我有两个DLL:A和B

从dll a中的代码,我动态加载dll B(在Unix上使用dlopen,在Windows上使用LoadLibrary)。是否保证B将在A之前卸载


Unix和Windows的行为有什么区别吗?

不保证首先卸载哪个DLL(Unix和Windows在这一点上没有区别)