Discussion thread:
https://groups.google.com/forum/#!msg/golang-nuts/MgIP2KvEAaU/dor44Kq5BAAJ
In system languages it should, however, in C++, consider pointer to member function is 2-word size, which can not be atomic.
That is to say, in Go, quote from Ian Lance Taylor,
both pointer assignments and uintptr assignments are done in a way that can not be interrupted.
2020 project, pick up Rust~
https://groups.google.com/forum/#!msg/golang-nuts/MgIP2KvEAaU/dor44Kq5BAAJ
In system languages it should, however, in C++, consider pointer to member function is 2-word size, which can not be atomic.
That is to say, in Go, quote from Ian Lance Taylor,
both pointer assignments and uintptr assignments are done in a way that can not be interrupted.
2020 project, pick up Rust~
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.