Original Post
I am having a member function of my class CServer called ClientHandler. It just handles one client per thread. To made it work with CreateThread I had to make it static. But what happens if I spawn 4 threads? Do these threads share the data since the function is static or do they have their own data since it spawns a seperate thread with an own stack?
Sand Hawk
----------------
-Earth is 98% full. Please delete anybody you can.
My Site
My Site