- 论坛徽章:
- 0
|
Using文件里面提到了说:
===
As of version 2.66, there is rudimentary support for threads, if you happen to be using Win32 or if you have pthreads. Define WIN32 or MW_PTHREADS to signify this fact.
This will cause a global mutex to be created, and memwatch will lock it when accessing the global memory chain, but it's still far from certified threadsafe.
===
但是没有更细致的说明会有什么问题,或者说是怎么产生的。在我看来,如果它都用到mutex了应该不会有太大问题啊。会不会死锁?还是别的什么问题?
我需要看问题有多严重,然后决定使不是用memwatch,毕竟只是用来debug,正式版又不用
我用memwatch挺长时间了,但以前也没做过多线程的东西,现在想把它应用到多线程当中来,用过的xdjm们给点意见  |
|