When to set stack reserve size to 512MByte. Why can't create thread in visual studio?

83 views Asked by At

After I set stack reserve size to 512MByte in visual studio 2015. I created thread by using "_beginthreadex" Function. But it didn't create thread. When thread is successfully created. As you know, We can get thread handle and thread ID. However, I saw that both thread handle and thread ID were 0. So I changed stack reserve size to 10MByte. then I could create thread successfully. I really wonder this situation.

0

There are 0 answers