2
Contributors
2
Replies
3
Views
6 Years
Discussion Span
Last Post by LevyDee
0

Easy to test? Create two threads that run a function with a static variable, print the value of the variable and then increment it.
Make sure the first thread is finished before starting the second.

0

Well I have already tested using a different thread. It it seems that it works, so I assume that they are created on the heap, but the way I use my _beginthreadex function and pass it an instance of my class, I am not sure where it is created.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.