are local variables shared between threads?
so i came to conclude that,threads maintain their own stack,and local variables are stored on the stack so it might impossible sharing of local variables in threads. The threads within a process share the same address space. A "variable" is a programming language concept. ... Threads can share absolutely all memory.