| title: | Re Not able to generate race condition pl |
|
Please note that task_struct structure will be shared in case of kernel threads. If u use pthread library, it being a user space thread does not have a specific task_struct structure. So, kernel does not know about the user space threads. As the code has pthread library, they can share the registers.
Any thoughts? |