Hi, I have a small problem but it's hard for me to understand. This project is using latest version of zthread and built into static library (.lib) in visual studio 2005 or 2010.
Here is my simple code.
#include"zthread/PoolExecutor.h"usingnamespaceZThread;classB:publicRunnable{public:B(){}voidrun(){// whether here is anything or not, this problem always exists. } };intmain(){PoolExecutorexecutor(1);for(__int64j=0;j!=10000000;j++){executor.execute(newB());executor.wait();}system("pause");}
In debug mode, this code my report a assert in win32/Fastlock.h, Line 105.
That is the assert in the following code:
Hi, I have a small problem but it's hard for me to understand. This project is using latest version of zthread and built into static library (.lib) in visual studio 2005 or 2010.
Here is my simple code.
In debug mode, this code my report a assert in win32/Fastlock.h, Line 105.
That is the assert in the following code:
Anyone knows this issue? Thank you.