Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upMove `std::thread_local::*` into `std::thread` #909
Conversation
This comment has been minimized.
This comment has been minimized.
|
+1 to Though this is a breaking change, it is also a small one, and if I am reading #911 correctly, then there may be breaking changes to |
This comment has been minimized.
This comment has been minimized.
|
Good idea. |
This comment has been minimized.
This comment has been minimized.
|
Both |
This comment has been minimized.
This comment has been minimized.
jmesmon
commented
Feb 27, 2015
|
On All that said: the current name suffers from some of my nit-picking as well, so it isn't really an excuse not to change what we have now to one of the proposed items. |
This comment has been minimized.
This comment has been minimized.
|
This is a great idea! The fact that A submodule called |
This comment has been minimized.
This comment has been minimized.
|
@jmesmon When people talk about "thread locals" (note here local is used like a noun), I tend to assume that they are referring to "thread local storage/variables", though technically there are other things that are local to threads. So I am fine with Also, I believe we can "repurpose" the module a bit, and actually put other thread local entities inside |
aturon
self-assigned this
Mar 5, 2015
This comment has been minimized.
This comment has been minimized.
|
Since there's very little in |
This comment has been minimized.
This comment has been minimized.
|
@aturon, |
This comment has been minimized.
This comment has been minimized.
|
@carllerche Can you update the RFC with the |
aturon
referenced this pull request
Mar 20, 2015
Closed
Tracking issue for Move `std::thread_local::*` into `std::thread` (RFC 909) #23547
aturon
merged commit 50ff468
into
rust-lang:master
Mar 20, 2015
This comment has been minimized.
This comment has been minimized.
|
This RFC, which is a minor organizational tweak, has been approved. The final decision was to use |
carllerche commentedFeb 25, 2015
Propose moving the contents of
std::thread_local::*intostd::threadRendered