How your compiler manage the reset of the registers when a new thread is created(since each CPU core have its own register cache)?
-
-
-
I don't understand the question. Why would it need to handle anything in this case?
-
So what do you think about?
-
I still have no idea what you are saying here. Registers don't have addresses. The aliasing concern you are talking about does not have much to do with threads. I don't know why you would be looking for a thread-specific solution. Starting a thread is every expensive; trying to
-
optimize something on the level of getting it from a register vs from memory, when you are starting an entire thread, just doesn't make any sense.
End of conversation
New conversation -
-
-
May the God give you the strength
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Awesome can't wait.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.