shared Variable in multithread in vc++

Hi all
In the VC++ programming language windows api as the threading library;
I want to shared variables/structures between threads,but I dont do it
Thanks for the great answers.
So what's the question ? Global variables (not recommended to use them) are shared by default between threads, otherwise you must pass them as thread entry point arguments(recommended).
Topic archived. No new replies allowed.