multi-threading problem in operating system
9. With multi-threading, each thread has its own value for the program counter, its own register save area, and its own stack, but all the threads share the executable code, the global variables, and the heap. What does this imply about the implementation of a memory allocation service such as malloc?