Threads shares data memory. You can access your data structure with whatever thread you like, but you must sincronize the access to shared resources, using semaphore, mutex, critical section, event and other sincronization object.Originally Posted by Gadget
You should read some tutorial or theory on thread and concurrency before implementing your code.
Bookmarks